Skip to content

CRAN release 0.2.0

Choose a tag to compare

@shikokuchuo shikokuchuo released this 10 Feb 10:02
· 1759 commits to main since this release
f47fd3d

New Features

  • Implements full async I/O capabilities
    • send_aio() and recv_aio() now return Aio objects, for which the results may be called using call_aio().
  • New request() and reply() functions implement the full logic of an RPC client/server, allowing processes to run concurrently on the client and server.
    • Designed to be run in separate processes, the reply server will await data and apply a function before returning a result.
    • The request client performs an async request to the server and returns immediately with an Aio.
  • New ncurl() minimalistic http(s) client.
  • New nng_timer() utility as a demonstration of NNG's multithreading capabilities.
  • Allows setting the environment variable 'NANONEXT_TLS' prior to package installation
    • Enables TLS where the system NNG library has been built with TLS support (using Mbed TLS).

Updates

  • Dialer/listener starts and close operations no longer print a message to stderr when successful for less verbosity by default.
  • All send and receive functions, e.g. send()/recv(), gain a revised 'mode' argument.
    • This now permits R serialization as an option, consolidating the functionality of the '_vec' series of functions.
  • Functions 'send_vec' and 'recv_vec' are deprecated and will be removed in a future release.
  • Functions 'ctx_send' and 'ctx_recv' have been renamed send_ctx() and recv_ctx() for consistency.
  • The $socket_close() method of nano objects has been renamed $close() to better align with the functional API.