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

Method getId

packages/core/src/SimulatedClock.ts:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 return this._now;
25 }
26 private getId() {
27 return this._id++;
28 }
29 public setTimeout(fn: (...args: any[]) => void, timeout: number) {
30 this._flushingInvalidated = this._flushing;
31 const id = this.getId();

Callers 1

setTimeoutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected