Type alias Tx

Tx: ((iterable) => Promise<void>)

Type declaration

    • (iterable): Promise<void>
    • TX function for outgoing packets.

      Parameters

      • iterable: AsyncIterable<Uint8Array>

      Returns Promise<void>

      Promise that resolves when iterable is exhausted, and rejects upon error.

Generated using TypeDoc