-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow asynchronous processing #21
Comments
Could be achievable with a lot of refactoring of Then rather than from jsonrpcserver import dispatch You would: from jsonrpcserver.async_dispatcher import dispatch Giving the ability to |
Cleaned up in preparation for adding an asynchronous dispatcher (#21). The dispatch method has been pared back to it's bare minimum so it can be easily overridden in a subclass, reproducing as little as possible.
The request and dispatch modules have been completely restructured and cleaned up, which was sorely needed regardless of this issue. Now to add asynchronous versions of those modules. |
Allows subclasses to specify which request type to instantiate and process. Continuing the journey to allow asynchronous processing (#21)
There's no way to asynchronously process a request, which is a major inadequacy of the library. Should be able to
await dispatch
. Need a dispatch coroutine, or at least return a future from dispatch.Will need some heavy refactoring to support both synchronous and asynchronous processing.
The text was updated successfully, but these errors were encountered: