MCPcopy
hub / github.com/mobxjs/mobx / getNextId

Function getNextId

packages/mobx/src/utils/utils.ts:42–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42export function getNextId() {
43 return ++globalState.mobxGuid
44}
45
46/**
47 * Makes sure that the provided function is invoked at most once.

Callers 13

constructorMethod · 0.50
constructorMethod · 0.50
asObservableObjectFunction · 0.50
constructorMethod · 0.50
constructorMethod · 0.50
createObservableArrayFunction · 0.50
constructorMethod · 0.50
constructorMethod · 0.50
constructorMethod · 0.50
constructorMethod · 0.50
_whenFunction · 0.50
autorunFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…