Public function

Creates a signal of the instance state for a given store.

Signature
function createSessionStateSnapshotSignal(
  store: TLStore
): Signal<null | TLSessionStateSnapshot>
Parameters
NameDescription

store

TLStore

The store to create the instance state snapshot signal for

Returns
Signal<null | TLSessionStateSnapshot>
References

TLStore, TLSessionStateSnapshot

Source

packages/editor/src/lib/config/TLSessionStateSnapshot.ts

counterClockwiseAngleDistcreateTLStore