macro_rules! job_context {
() => { ... };
}Expand description
Retrieves the current JobContext, panicking if called outside a
TurnKeeper-managed job task where the context has not been set.
Requires the job_context feature to be enabled.
Use try_get_current_job_context() for safe, optional access.
ยงPanics
Panics if the CURRENT_JOB_CONTEXT task local has not been set.