pamoja for TypeScript - v0.1.17
    Preparing search index...

    Class Transport

    Index
    • get isAvailable(): boolean

      Whether this transport is still holdable, or has been handed on.

      Returns boolean

    • Wraps a transport in a link that loses packets and goes down.

      The wrapped transport is consumed. Every fault is off unless the options name it, so a link that only drops packets says only that.

      Parameters

      • inner: transport.Transport

        the transport to degrade.

      • Optionalfaults: Faults | null

        dropEvery loses one send in every this many; up and down alternate that many sends of reachable and unreachable.

      Returns transport.Transport