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

Method start

packages/core/src/Mailbox.ts:13–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 constructor(private _process: (ev: T) => void) {}
12
13 public start() {
14 this._active = true;
15 this.flush();
16 }
17
18 public clear(): void {
19 // we can't set _current to null because we might be currently processing

Callers

nothing calls this directly

Calls 1

flushMethod · 0.95

Tested by

no test coverage detected