public static interface ExecContext.Supplier
An exec context may provide ways to change the exec context for part of an execution.
This supplier always returns the effective context, which might not be this
.
This is rarely, if ever, needed in application code. It is used internally by Ratpack to handle contexts jumping across threads.
Modifier and Type | Method and Description |
---|---|
ExecContext |
get()
The current effective execution context.
|
ExecContext get()