You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,26 @@
2
2
3
3
#### New Features
4
4
5
-
* Implements full async I/O capabilities - `send_aio()` and `recv_aio()` now return Aio objects, for which the results may be called using `aio_call()`.
6
-
* New `ctx_rep()` and `ctx_req()` functions implement the full logic of an RPC server/client. Designed to be run in separate processes, the server will await data and apply an arbitrary function before returning a result, whilst the client will send data to the server and await a response.
5
+
* Implements full async I/O capabilities
6
+
+`send_aio()` and `recv_aio()` now return Aio objects, for which the results may be called using `call_aio()`.
7
+
* New `request()` and `reply()` functions implement the full logic of an RPC client/server.
8
+
+ Designed to be run in separate processes, the reply server will await data and apply a function before returning a result.
9
+
+ The request client performs an async request to the server and returns immediately with an Aio.
10
+
+ This allows processes to run concurrently on the client and server.
7
11
* New `ncurl()` minimalistic http(s) client.
8
-
* Allows setting the environment variable 'NANONEXT_TLS' prior to package installation to enable TLS where the system NNG library has been built with TLS support (using Mbed TLS).
12
+
* Allows setting the environment variable 'NANONEXT_TLS' prior to package installation
13
+
+ Enables TLS where the system NNG library has been built with TLS support (using Mbed TLS).
9
14
* New `nng_timer()` utility as a demonstration of NNG's multithreading capabilities.
10
15
11
16
#### Updates
12
17
13
-
* Successful starts of dialers/listeners and successful close operations no longer print a message to stdout for less verbosity by default. The state of respective objects can always be queried by their state attribute using `$state`
14
-
* All send and receive functions, e.g. `send()`/`recv()`, gain a revised 'mode' argument. This now permits the choice of whether to use R serialization, consolidating the functionality of the '_vec' series of functions.
18
+
* Dialer/listener starts and close operations no longer print a message to stderr when successful for less verbosity by default.
19
+
+ The state of respective objects can always be queried using `$state`
20
+
* All send and receive functions, e.g. `send()`/`recv()`, gain a revised 'mode' argument.
21
+
+ This now permits R serialization as an option, consolidating the functionality of the '_vec' series of functions.
15
22
* Functions 'send_vec' and 'recv_vec' are deprecated and will be removed in a future release.
23
+
* Functions 'ctx_send' and 'ctx_recv' have been renamed `send_ctx()` and `recv_ctx()` for consistency.
24
+
* The `$socket_close()` method of nano objects has been renamed `$close()` to better align with the functional API.
0 commit comments