Synced
ExecutionSlot<TValue>
Section titled “ExecutionSlot<TValue>”
- Provides an isolated, revocable execution binding whose values never survive scope retirement.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Core.Execution
Declaration
Section titled “Declaration”public sealed class Inno.Core.Execution.ExecutionSlot<TValue>Type parameters
Section titled “Type parameters”Type parameter TValue: The explicitly selected service or immutable execution value.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | ExecutionSlot<TValue>.Constructor | Creates a slot without binding a process-global service. |
| Methods | ExecutionSlot<TValue>.Enter | Binds a value until the returned scope is retired in strict last-in-first-out order. |
| Methods | ExecutionSlot<TValue>.Suspend | Temporarily masks this slot without exposing an enclosing binding. |
| Methods | ExecutionSlot<TValue>.TryGet | Tries to read the current binding without falling through an expired child scope. |
| Properties | ExecutionSlot<TValue>.current | Gets the current live value, rejecting expired or wrong-thread bindings. |