import { Connection } from "https://deno.land/x/earthstar_streaming_rpc@v5.0.1/src/connection.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>