DistributedSearchTransport
Defined in: packages/index/src/distributed-peer-source.ts:19
Methods
Section titled “Methods”request()
Section titled “request()”request(
peerId,protocol,payload,options):Promise<Uint8Array<ArrayBufferLike>>
Defined in: packages/index/src/distributed-peer-source.ts:20
Parameters
Section titled “Parameters”peerId
Section titled “peerId”string
protocol
Section titled “protocol”string
payload
Section titled “payload”Uint8Array
options
Section titled “options”deadline
Section titled “deadline”number
signal
Section titled “signal”AbortSignal
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>