@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 โ
| Parameter | Type |
|---|---|
inputs | WireScanInput[] |
Returns โ
Transferable[]