This PR fixes a race condition in the protected decorator, which was caused by using a single client, starting and then closing the session, while concurrent requests were coming in.
Removed the optionality on handler types.
Added the ability to use the client as an async context manager.
This PR fixes a race condition in the
protected
decorator, which was caused by using a single client, starting and then closing the session, while concurrent requests were coming in.Removed the optionality on handler types.
Added the ability to use the client as an async context manager.
Resolves #12 Resolves #13