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

Method toJSON

packages/core/src/createActor.ts:767–772  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

765 }
766 }
767 public toJSON() {
768 return {
769 xstate$$type: $$ACTOR_TYPE,
770 id: this.id
771 };
772 }
773
774 /**
775 * Obtain the internal state of the actor, which can be persisted.

Callers 4

types.test.tsFile · 0.45
tags.test.tsFile · 0.45
AppFunction · 0.45
AppFunction · 0.45

Calls

no outgoing calls

Tested by 2

AppFunction · 0.36
AppFunction · 0.36