Feng Lee
Feng Lee
``` =ERROR REPORT==== 12-Jul-2019::11:49:17.754315 === emqtt(emqs-MacBook-Pro_bench_pub_1_2835554768): State: connected, Unexpected Event: (cast, {mqtt_packet, {mqtt_packet_header, 5, false, 0, false}, {mqtt_packet_puback, 18024, 147, #{}}, undefined}) =ERROR REPORT==== 12-Jul-2019::12:10:49.543783 === emqtt(emqs-MacBook-Pro_bench_pub_1_2641837960): State: connected, Unexpected...
1. pub/sub qos0/1/2 test 2. message rate test 3. concurrent connections test
The types may be used in a wrapper module, such as `emqx_json`: ``` -type(encode_options() :: jiffy:encode_options()). -spec(encode(json_term(), encode_options()) -> json_text()). encode(Term, Opts) -> jiffy:encode(Term, Opts). ```
How to define the following functions: - [ ] logger:debug/2, debug/3 - [ ] info/2,info/3 - [ ] notice/2,notice/3 - [ ] warning/2,warning/3 - [ ] error/2,error/3 - [ ]...
``` > data Person = Person {name :: String, age :: Integer} > p = Person {name = "John", age = 12} Error found: in module $PSCI at :1:5 -...
```haskell -- declare a Person record data Person = Person {name :: String, age :: Integer} p = Person {name = "John", age = 12} -- update a Person record...