samisagit / natskell

A NATS client library written in Haskell
MIT License
5 stars 0 forks source link

Improve strict mode #120

Closed samisagit closed 3 months ago

samisagit commented 4 months ago

Rather than including strict mode in client code, we could just expose an option to provide a call back on +OK which could be used by the tests to ensure the message has been processed. This would behave in the same blocking way as we need, but reduce the complexity of the library code.