TransferredValue<TValue>
A result marked to transfer some of its objects rather than copy them. Build it with withTransfer.
Import:
import type { TransferredValue } from '@mnaoumov/obsidian-lib/worker-protocol';Signature:
export interface TransferredValue<TValue>Properties
| Property | Type | Description |
|---|---|---|
| __obsidianLibTransferredValue | true | The marker that identifies the wrapper structurally, so a wrapper built by another copy of this library is recognized too. |
| transfer | readonly Transferable[] | The objects to transfer. |
| value | TValue | The value. |
Links to this page: