An array of class names to keep track of the dependency loading order.
This is not guaranteed to be the same everytim...
An array of class names to keep track of the dependency loading order.
This is not guaranteed to be the same everytime due to the asynchronous
nature of the Loader.
Automatically detect deadlocks before-hand,
will throw an error with detailed path for ease of debugging. Examples of...
Automatically detect deadlocks before-hand,
will throw an error with detailed path for ease of debugging. Examples of deadlock cases:
- A extends B, then B extends A
- A requires B, B requires C, then C requires A
The detectDeadlock function will recursively transverse till the leaf, hence it can detect deadlocks
no matter how deep the path is.