Skip to content

Type Alias: StateMode ​

ts
type StateMode = "optimistic" | "source";

Defined in: types.ts:9

How a state reads right after a write. 'optimistic' reads the written value back at once, and 'source' reads the source every time.

Released under the MIT License.