@asimojs/asimo
Version:
Asynchronous dependency manager for Typescript projects
10 lines (8 loc) • 299 B
text/typescript
// Same as groupA (not needed in real use cases - test purpose only)
import "./service1";
import "./object2";
// the following is for test purpose only
if (globalThis && globalThis.notifyGroupALoad) {
// allow to test that groupA is really loaded on demand
globalThis.notifyGroupALoad();
}