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.
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.