Connection
本頁內容尚未翻譯。
Defined in: Testing.ts:23
Raw JSON-RPC connection; tests can inspect interim results and notifications.
Properties
Section titled “Properties”closed
Section titled “closed”readonly closed: Effect<void>;Defined in: Testing.ts:27
readonly end: Effect<void>;Defined in: Testing.ts:26
receive
Section titled “receive”readonly receive: Effect<JsonRpcMessage>;Defined in: Testing.ts:25
readonly send: (message: JsonRpcMessage) => Effect<void>;Defined in: Testing.ts:24
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
message |
JsonRpcMessage |
Returns
Section titled “Returns”Effect<void>