Hierarchy

Properties

#private: any
attachInboundStream: ((stream: Stream) => AsyncIterable<Uint8ArrayList>)

Type declaration

attachOutboundStream: ((stream: Stream) => Promise<Pushable<Uint8ArrayList, void, unknown>>)

Type declaration

close: (() => void)

Type declaration

    • (): void
    • Returns void

id: PeerId
inboundStream?: AsyncIterable<Uint8ArrayList>
isWritable: boolean
outboundStream?: Pushable<Uint8ArrayList, void, unknown>
protocol: string
write: ((buf: Uint8Array | Uint8ArrayList) => void)

Type declaration

Methods

  • Parameters

    • type: string

    Returns number

  • Type Parameters

    • Detail

    Parameters

    Returns boolean