import { TransportLocal } from "https://deno.land/x/earthstar@v9.3.3/src/test/rpc-dep-node.ts";
A Transport that connects directly to other Transports in memory, on the same machine.
This is mostly useful for testing.
Constructors
new
TransportLocal(opts: ITransportLocalOpts<BagType>)Type Parameters
BagType extends FnsBag
Properties
Methods
addConnection(otherTrans: TransportLocal<BagType>): { thisConn: Connection<BagType>; otherConn: Connection<BagType>; }
close(): void