Prepare a request, will return the identifier to use and a promise that will resolve when the reply is registered.
array with request id and promise. The promise will resolve or reject when a result or error is registered, or when it times out
Register that an error occurred for the given identifier. This will reject the promise associated with the identifier.
prepareRequest
Register that a reply has been received for the given identifier. This will resolve the promise associated with the identifier.
prepareRequest
Generated using TypeDoc
Helper for managing requests and replies that are identified via a number.