Skip to content

@lelantos-org/sdk / sync / transferablesOf

Function: transferablesOf() โ€‹

ts
function transferablesOf(inputs): Transferable[];

Defined in: @lelantos-org/sdk/dist/sync/worker/protocol.d.ts:59

Buffers to transfer rather than copy.

These are the caller's arrays, straight from NoteSource.listNotes. Transferring detaches them, so a scan request consumes its inputs and can never be re-sent. The pool must recycle a failed worker rather than retry the request: a resend would scan zero-length ciphertexts and report no hits.

Parameters โ€‹

ParameterType
inputsWireScanInput[]

Returns โ€‹

Transferable[]

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub