Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Cancels and asynchronously drains tracked work before reverse-order release.

API: engine
Project: Inno.Core.Execution

public System.Threading.Tasks.ValueTask Inno.Core.Execution.LifetimeScope.DisposeAsync()

Only use asynchronous disposal for thread-neutral resources. Control-thread owners must await their work and call synchronous disposal at their own safe point; this method does not marshal to an owner thread.

A task that completes only after work and resource retirement finish.

Exception T:System.AggregateException: Cancellation, work or resource retirement fails.