addDurablyReturnedAssets

open fun addDurablyReturnedAssets(tool: Tool, assetStore: AssetStore): Tool

Wrap a tool so any returned MaterializableAsset instances are copied to assetStore and the resulting DurableAsset instances are tracked. Callers must supply a configured store; durable tracking is not enabled implicitly.