when Ready
Adds a closure to be called when this graph has been populated. This graph is passed to the closure as a parameter.
When the configuration cache is enabled, this callback only fires during the configuration phase (a cache miss). On a cache hit, the task graph is loaded from the cache and this callback is not invoked.
Parameters
The closure to execute when this graph has been populated.
Adds an action to be called when this graph has been populated. This graph is passed to the action as a parameter.
When the configuration cache is enabled, this callback only fires during the configuration phase (a cache miss). On a cache hit, the task graph is loaded from the cache and this callback is not invoked.
Since
3.1
Parameters
The action to execute when this graph has been populated.