Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PerNodeStateOptions<V, P>

Options for PerNodeState.

Type parameters

  • V

  • P = any

Hierarchy

  • PerNodeStateOptions

Index

Properties

Optional defaultValue

defaultValue?: V

Default value to initialize this node to.

Methods

Optional applyPatch

  • applyPatch(currentValue: undefined | V, patch: P): V

Optional generatePatch

  • generatePatch(currentValue: V, previousVersion: number): P

Generated using TypeDoc