Open dx3mod opened 1 week ago
Split the current package into:
nats-client
package with implementation independent parts like types, message parser, etc.nats-client-lwt
package with Lwt based implementation and user API.Currently, the Lwt based solution is the main implementation that needs to be completed to be used to reference other implementations.
In the ecosystem it is good practice for a library to have support for different I/O libraries like: just unix, lwt, async, eio, etc.
This will require strong separation of abstraction layers.