Closed
Description
Specification
Factor out the timeout middleware.
Tasks
-
- Move timeout middleware into js-rpc.
-
- Move the rpc request and response types to js-rpc. Replace the
ClientRPCRequestParams
as an extension of the default request and response types. You can create a more specific subtype when usingextends
here. This applies also toAgentRPCRequestParams
and associated.
- Move the rpc request and response types to js-rpc. Replace the
-
- Timeout middleware must be applied to the agent service as well.