process_switcher library
Classes
- ProcessContext
- Describes the active process context and may provide additional methods to interact with it.
-
ProcessSpec<
C extends ProcessContext> - Abstract interface for context-aware process configuration.
- ProcessSwitcher
- Base class for process handler with context switching logic.
Typedefs
-
ContextFn<
C extends ProcessContext, K> = Future< K> Function(C context) - Callback method that recieves the process context to access the currently running instance.