MCPcopy
hub / github.com/statelyai/xstate / getPersistedSnapshot

Method getPersistedSnapshot

packages/core/src/createActor.ts:788–790  ·  view source on GitHub ↗
(options?: unknown)

Source from the content-addressed store, hash-verified

786 */
787 public getPersistedSnapshot(): Snapshot<unknown>;
788 public getPersistedSnapshot(options?: unknown): Snapshot<unknown> {
789 return this.logic.getPersistedSnapshot(this._snapshot, options);
790 }
791
792 public [symbolObservable](): InteropSubscribable<SnapshotFrom<TLogic>> {
793 return this;

Callers 15

useActor.test.tsFile · 0.45
state.test.tsFile · 0.45
actor.test.tsFile · 0.45
actorLogic.test.tsFile · 0.45
emit.test.tsFile · 0.45
after.test.tsFile · 0.45
history.test.tsFile · 0.45
getPersistedSnapshotFunction · 0.45
useActor.test.tsxFile · 0.45
ComponentFunction · 0.45

Calls

no outgoing calls

Tested by 1

ComponentFunction · 0.36