Optional
failSet to false
to continue operations even if errors occur.
If set to false, then an AggregateError will be raised on failure
containing all failures (even if only one). If true, then a normal
Error will be raised on failure.
get the dependencies of a given node
Array of one or more entry nodes.
Optional
onCalled when a cycle is encountered. Throw in this method to enforce a DAG graph. If left undefined, then cycles are silently ignored and skipped.
node
parameter is the dependency that is being skipped.
cycle
is the route from the dependent back to itself via
the parent.
path
is the path to the dependent who wanted this dep to be
loaded.
Optional
signala signal that will trigger the graph traversal to end prematurely
action to take on each node
Options that define the graph and how to traverse it