json-rpc-engine
json-rpc-engine copied to clipboard
RFC: Remove callback from next return handlers
Requires: #81
next return handlers can be async functions. They don't need a callback. This PR types them such that they can be async functions, and removes the "done" callback.
This library has now been migrated into the core monorepo. This PR has been locked and this repo will be archived shortly. Going forward, releases of this library will only include changes made in the core repo.
- Please push this branch to core and open a new PR there.
- Optionally, add a link pointing to the discussion in this PR to provide context.