Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Provides an isolated, revocable execution binding whose values never survive scope retirement.

API: engine
Inherits: object
Project: Inno.Core.Execution

public sealed class Inno.Core.Execution.ExecutionSlot<TValue>

Type parameter TValue: The explicitly selected service or immutable execution value.

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.