Shape: {
    AttemptDescription: Matcher;
    Bytes: Matcher;
    Connection: Matcher;
    ConnectionHandler: Matcher;
    ConnectionI: {
        connection: InterfaceGuard<{
            close: MethodGuard;
            getLocalAddress: MethodGuard;
            getRemoteAddress: MethodGuard;
            send: MethodGuard;
        }>;
        openConnectionAckWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        rethrowUnlessMissingWatcher: InterfaceGuard<{
            onRejected: MethodGuard;
        }>;
        sinkWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
    };
    Data: Matcher;
    Endpoint: Matcher;
    InboundAttempt: Matcher;
    InboundAttemptI: {
        inboundAttempt: InterfaceGuard<{
            accept: MethodGuard;
            close: MethodGuard;
            getLocalAddress: MethodGuard;
            getRemoteAddress: MethodGuard;
        }>;
        inboundAttemptAcceptWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        rethrowUnlessMissingWatcher: InterfaceGuard<{
            onRejected: MethodGuard;
        }>;
        sinkWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
    };
    Listener: Matcher;
    ListenHandler: Matcher;
    Opts: Matcher;
    Port: Matcher;
    PortI: {
        port: InterfaceGuard<{
            addListener: MethodGuard;
            connect: MethodGuard;
            getLocalAddress: MethodGuard;
            removeListener: MethodGuard;
            revoke: MethodGuard;
        }>;
        portAddListenerWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        portConnectWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        portRemoveListenerWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        portRevokeCleanupWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        portRevokeWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        rethrowUnlessMissingWatcher: InterfaceGuard<{
            onRejected: MethodGuard;
        }>;
        sinkWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
            onRejected: MethodGuard;
        }>;
    };
    ProtocolHandler: Matcher;
    ProtocolHandlerI: {
        protocolHandler: InterfaceGuard<{
            generatePortID: MethodGuard;
            onBind: MethodGuard;
            onConnect: MethodGuard;
            onCreate: MethodGuard;
            onInstantiate: MethodGuard;
            onListen: MethodGuard;
            onListenRemove: MethodGuard;
            onRevoke: MethodGuard;
        }>;
        protocolHandlerAcceptWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        protocolHandlerConnectWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        protocolHandlerInstantiateWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        rethrowUnlessMissingWatcher: InterfaceGuard<{
            onRejected: MethodGuard;
        }>;
    };
    ProtocolImpl: Matcher;
    ProtocolImplI: InterfaceGuard<{
        bindPort: MethodGuard;
        inbound: MethodGuard;
        outbound: MethodGuard;
    }>;
    Vow: Matcher;
    Vow$: ((shape: any) => Matcher);
} = ...

Type declaration

  • AttemptDescription: Matcher
  • Bytes: Matcher
  • Connection: Matcher
  • ConnectionHandler: Matcher
  • ConnectionI: {
        connection: InterfaceGuard<{
            close: MethodGuard;
            getLocalAddress: MethodGuard;
            getRemoteAddress: MethodGuard;
            send: MethodGuard;
        }>;
        openConnectionAckWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        rethrowUnlessMissingWatcher: InterfaceGuard<{
            onRejected: MethodGuard;
        }>;
        sinkWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
    }
    • connection: InterfaceGuard<{
          close: MethodGuard;
          getLocalAddress: MethodGuard;
          getRemoteAddress: MethodGuard;
          send: MethodGuard;
      }>
    • openConnectionAckWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
      }>
    • rethrowUnlessMissingWatcher: InterfaceGuard<{
          onRejected: MethodGuard;
      }>
    • sinkWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
      }>
  • Data: Matcher

    Data is string | Buffer | ArrayBuffer but only string is passable

  • Endpoint: Matcher
  • InboundAttempt: Matcher
  • InboundAttemptI: {
        inboundAttempt: InterfaceGuard<{
            accept: MethodGuard;
            close: MethodGuard;
            getLocalAddress: MethodGuard;
            getRemoteAddress: MethodGuard;
        }>;
        inboundAttemptAcceptWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        rethrowUnlessMissingWatcher: InterfaceGuard<{
            onRejected: MethodGuard;
        }>;
        sinkWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
    }
    • inboundAttempt: InterfaceGuard<{
          accept: MethodGuard;
          close: MethodGuard;
          getLocalAddress: MethodGuard;
          getRemoteAddress: MethodGuard;
      }>
    • inboundAttemptAcceptWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
      }>
    • rethrowUnlessMissingWatcher: InterfaceGuard<{
          onRejected: MethodGuard;
      }>
    • sinkWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
      }>
  • Listener: Matcher
  • ListenHandler: Matcher
  • Opts: Matcher
  • Port: Matcher
  • PortI: {
        port: InterfaceGuard<{
            addListener: MethodGuard;
            connect: MethodGuard;
            getLocalAddress: MethodGuard;
            removeListener: MethodGuard;
            revoke: MethodGuard;
        }>;
        portAddListenerWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        portConnectWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        portRemoveListenerWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        portRevokeCleanupWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        portRevokeWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        rethrowUnlessMissingWatcher: InterfaceGuard<{
            onRejected: MethodGuard;
        }>;
        sinkWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
            onRejected: MethodGuard;
        }>;
    }
    • port: InterfaceGuard<{
          addListener: MethodGuard;
          connect: MethodGuard;
          getLocalAddress: MethodGuard;
          removeListener: MethodGuard;
          revoke: MethodGuard;
      }>
    • portAddListenerWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
      }>
    • portConnectWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
      }>
    • portRemoveListenerWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
      }>
    • portRevokeCleanupWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
      }>
    • portRevokeWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
      }>
    • rethrowUnlessMissingWatcher: InterfaceGuard<{
          onRejected: MethodGuard;
      }>
    • sinkWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
          onRejected: MethodGuard;
      }>
  • ProtocolHandler: Matcher
  • ProtocolHandlerI: {
        protocolHandler: InterfaceGuard<{
            generatePortID: MethodGuard;
            onBind: MethodGuard;
            onConnect: MethodGuard;
            onCreate: MethodGuard;
            onInstantiate: MethodGuard;
            onListen: MethodGuard;
            onListenRemove: MethodGuard;
            onRevoke: MethodGuard;
        }>;
        protocolHandlerAcceptWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        protocolHandlerConnectWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        protocolHandlerInstantiateWatcher: InterfaceGuard<{
            onFulfilled: MethodGuard;
        }>;
        rethrowUnlessMissingWatcher: InterfaceGuard<{
            onRejected: MethodGuard;
        }>;
    }
    • protocolHandler: InterfaceGuard<{
          generatePortID: MethodGuard;
          onBind: MethodGuard;
          onConnect: MethodGuard;
          onCreate: MethodGuard;
          onInstantiate: MethodGuard;
          onListen: MethodGuard;
          onListenRemove: MethodGuard;
          onRevoke: MethodGuard;
      }>
    • protocolHandlerAcceptWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
      }>
    • protocolHandlerConnectWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
      }>
    • protocolHandlerInstantiateWatcher: InterfaceGuard<{
          onFulfilled: MethodGuard;
      }>
    • rethrowUnlessMissingWatcher: InterfaceGuard<{
          onRejected: MethodGuard;
      }>
  • ProtocolImpl: Matcher
  • ProtocolImplI: InterfaceGuard<{
        bindPort: MethodGuard;
        inbound: MethodGuard;
        outbound: MethodGuard;
    }>
  • Vow: Matcher
  • Vow$: ((shape: any) => Matcher)
      • (shape): Matcher
      • Parameters

        • shape: any

        Returns Matcher