Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Attempts retirement once at an owner-thread safe point.

API: engine
Project: Inno.Core.Execution

public bool Inno.Core.Execution.RetirementBarrier.TryComplete(System.Action retire)

Parameter retire: The owner’s retryable retirement operation; the barrier never retains this delegate.

True after retirement completes, or false while work remains within its deadline.

Wrapped pending failures retain their ownership semantics. A nested timeout is rethrown in its original exception tree. Ordinary sibling failures survive retries and are reported once retirement completes.

Exception T:System.AggregateException: Retirement completed after earlier ordinary failures, or the owner reported a wrapped terminal timeout.

Exception T:Inno.Core.Execution.RetirementTimeoutException: Work exceeded its deadline. The barrier remains terminally faulted and dependencies must be retained.

Exception T:System.InvalidOperationException: The caller is not the thread that created this barrier.