@lelantos-org/sdk / advanced / CommitmentFeed
Interface: CommitmentFeed
Defined in: @lelantos-org/sdk/dist/sync/tree-store.d.ts:65
Where a TreeStore reads the commitment tree from: chunked leaves and the mirror's head. FmdClient implements it; any source serving the same chunks can stand in.
Methods
fetchCommitmentChunk()
ts
fetchCommitmentChunk(chunkId, opts?): Promise<CommitmentChunkOut>;Defined in: @lelantos-org/sdk/dist/sync/tree-store.d.ts:66
Parameters
| Parameter | Type |
|---|---|
chunkId | number |
opts? | { signal?: AbortSignal; } |
opts.signal? | AbortSignal |
Returns
Promise<CommitmentChunkOut>
fetchTreeState()
ts
fetchTreeState(): Promise<FmdTreeState>;Defined in: @lelantos-org/sdk/dist/sync/tree-store.d.ts:69
Returns
Promise<FmdTreeState>