json-rpc-engine
                                
                                 json-rpc-engine copied to clipboard
                                
                                    json-rpc-engine copied to clipboard
                            
                            
                            
                        A tool for processing JSON RPC
Pending: MetaMask/json-rpc-engine#83 This attempts to address some of the concerns raised in MetaMask/core#1993, regarding the throwing of non-`Error` values. It doesn't fully resolve the issue, because the `async` signatures of...
WIP. Requires #104
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.
Requires: #82 We don't need the next callbacks. This PR removes them. Return handlers are supported by directly returning them from the middleware instead.
This PR lets any middleware function be async, and deprecates `createAsyncMiddleware`. The readme has been updated. Previously, we did not handle rejections of plain, `async` middleware functions. `createAsyncMiddleware` was created...