Read-only context passed to a runtime hook.
A context represents one committed runtime lifecycle event. It is intended to be used only during the hook callback; tools should retain values read from it rather than the context itself.
Summary
Functions
Exports opaque runtime state at this lifecycle point.
Returns the terminal frame at this lifecycle point.
Returns the inspector snapshot at this lifecycle point.
Returns metadata for the lifecycle event.
Returns the terminal dimensions at this lifecycle point.
Returns the source server PID.
Returns the root view module.
Types
Functions
@spec capture_state( t(), keyword() ) :: {:ok, Breeze.Runtime.State.t()} | {:error, term()}
Exports opaque runtime state at this lifecycle point.
Returns the terminal frame at this lifecycle point.
Returns the inspector snapshot at this lifecycle point.
Returns metadata for the lifecycle event.
Returns the terminal dimensions at this lifecycle point.
Returns the source server PID.
Returns the root view module.