• Preparing search index...
  • The search index is not available
API documentation of Agoric SDK
  • API documentation of Agoric SDK
  • @agoric/network
  • index
  • crossoverConnection

Function crossoverConnection

  • crossoverConnection(zone, handler0, addr0, handler1, addr1, makeConnection, finalizer, current?): Connection[]
  • Parameters

    • zone: Zone
    • handler0: Remote<Required<ConnectionHandler>>
    • addr0: string
    • handler1: Remote<Required<ConnectionHandler>>
    • addr1: string
    • makeConnection: ((opts: ConnectionOpts) => Connection)
        • (opts): Connection
        • Parameters

          • opts: ConnectionOpts

          Returns Connection

    • finalizer: Guarded<{
          finalize(obj: any): undefined | Vow<any>;
          has(obj: any): boolean;
          initCloser(closer: Remote<{
              close(): PromiseVow<any>;
          }>): void;
          initConnection(conn: Remote<Connection>, handler: Remote<Required<ConnectionHandler>>): void;
          unpin(obj: any): void;
      }>
    • Optionalcurrent: WeakSetStore<Closable> = ...

    Returns Connection[]

    • Defined in packages/network/src/network.js:202

Settings

Member Visibility
API documentation of Agoric SDK
  • Loading...

Generated using TypeDoc