Skip to content

Documentation / @etherfold/processor-entities / localPosition

Function: localPosition() ​

localPosition(store): Promise<number | undefined>

Defined in: packages/processor-entities/src/snapshot.ts:252

How far the local store has already got, from the cursor it holds.

undefined means it has never synced, which is the ordinary first-run case and the one a bootstrap exists for.

Parameters ​

store ​

StateStore

Returns ​

Promise<number | undefined>