Language

EntryMode Enum

Definition

Describes how a task handler was entered for the current turn. Recovery is observable only through this enum (there is no public recovery counter), matching the Python TaskContext surface.

public enum EntryMode
type EntryMode = 
Public Enum EntryMode
Inheritance
EntryMode

Fields

Name Value Description
Fresh 0

The handler is running for the first time for this input.

Resumed 1

The handler resumed after a suspension (e.g. awaiting steering input).

Recovered 2

The handler was recovered after a process crash or lease takeover.

Applies to