Skip to content

@lelantos-org/sdk / internal / AwaitCommitmentsOpts

Interface: AwaitCommitmentsOpts ​

Defined in: @lelantos-org/sdk/dist/wallet/notes/note-cache.d.ts:4

Properties ​

maxAttempts? ​

ts
optional maxAttempts?: number;

Defined in: @lelantos-org/sdk/dist/wallet/notes/note-cache.d.ts:14

Give up after this many syncs, whichever of this and timeoutMs comes first. Unbounded by default.


pageSize? ​

ts
optional pageSize?: number;

Defined in: @lelantos-org/sdk/dist/wallet/notes/note-cache.d.ts:16

Feed page size for each sync. Default: the sync's own.


pollMs? ​

ts
optional pollMs?: number;

Defined in: @lelantos-org/sdk/dist/wallet/notes/note-cache.d.ts:7

Delay between syncs. Default 2 000 ms.


signal? ​

ts
optional signal?: AbortSignal;

Defined in: @lelantos-org/sdk/dist/wallet/notes/note-cache.d.ts:5


throwOnTimeout? ​

ts
optional throwOnTimeout?: boolean;

Defined in: @lelantos-org/sdk/dist/wallet/notes/note-cache.d.ts:18

Throw on timeout instead of returning a status. Default false.


timeoutMs? ​

ts
optional timeoutMs?: number;

Defined in: @lelantos-org/sdk/dist/wallet/notes/note-cache.d.ts:9

Give up after this long. Default 120 000 ms.