@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.
18 lines • 433 B
JavaScript
let exportingStack = 0;
/** @internal */
export function __isExporting(state) {
if (state) {
exportingStack++;
}
else {
exportingStack--;
}
}
/**
* Returns whether an export process is currently running.
* @returns True if an export process is currently running, false otherwise.
*/
export function isExporting() {
return exportingStack > 0;
}
//# sourceMappingURL=state.js.map