response
function response( connection: Connection, id: string | number,): Effect<JsonRpcResponse>Defined in: Testing.ts:119
Read through notifications until the response for a request arrives.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
connection |
Connection |
id |
string | number |
Returns
Section titled “Returns”Effect<JsonRpcResponse>