property
ModuleGraph.current
readonly static current: undefined | ModuleGraph
The graph whose context the calling code is running in (what it opens now would belong to that graph), or undefined in the host's context. For host functions shared by several graphs, and for asserting that a call went through ModuleGraph.run.