addAnyReturnedAssets

open fun addAnyReturnedAssets(tools: List<Tool>): List<Tool>

Make these tools track any assets produced.


open fun addAnyReturnedAssets(tools: List<Tool>, filter: Predicate<Asset>): List<Tool>

Make these tools track any assets produced, with a filter. Only assets that pass the filter will be tracked.

Parameters

tools

The tools to wrap

filter

Predicate - only assets passing this filter are tracked