import { Connection } from "https://deno.land/x/earthstar@v9.3.3/src/test/rpc-dep-node.ts";
Constructors
new
Connection(opts: ConnectionOpts<BagType>)Type Parameters
BagType extends FnsBag
Properties
_closeCbs: Set<Thunk>
_deferredRequests: Map<string, Deferred<any>>
_methods: BagType
_sendEnvelope: (conn: IConnection<BagType>, env: Envelope<BagType>) => Promise<void>
_transport: ITransport<BagType>
status: Watchable<ConnectionStatus>