Skip to content

EngineStateSpec

Namespace: E2E.Engine

public sealed record EngineStateSpec : IEquatable<EngineStateSpec>

Upstream’s state hooks of an engine: capturing and restoring the app’s state.

Inheritance: object

Implements: IEquatable<EngineStateSpec>

View source

public Func<OperationContext, Task<EngineState>>? Capture { get; init; }

Value: Func<OperationContext, Task<EngineState>>

public Func<EngineState, OperationContext, Task>? Restore { get; init; }

Value: Func<EngineState, OperationContext, Task>