Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Releases this caller’s residency ownership, retaining its value and callback while the provider reports Pending.

API: scripting
Project: Inno.Assets
Scope: Runtime

public void InnoEngine.Assets.AssetLease<TAsset>.Dispose()

Pending may be wrapped in another exception; classify the complete failure with RetirementPendingException.Find. Ordinary sibling failures remain observable after a later release attempt succeeds.

Exception T:Inno.Core.Execution.RetirementPendingException: Provider retirement is unfinished or a concurrent release is in progress; retain this lease and retry at a safe point.

Exception T:System.AggregateException: The provider reports a wrapped failure, or release completes with ordinary errors retained from earlier pending attempts.