Skip to content

fromString

const fromString: (str) => Composite

Defined in: packages/@livestore/common/dist/schema/EventSequenceNumber/client.d.ts:69

Convert a string representation of a sequence number to a Composite. Parses strings in the format: e{global}[.{client}][r{rebaseGeneration}] Examples: “e0”, “e0r1”, “e0.1”, “e0.1r1”

For full notation documentation, see: contributor-docs/events-notation.md

string

Composite