Method OnStart
- Namespace
- SodaFlow
- Assembly
- SodaFlow.dll
OnStart(Action)
Adds an action that runs at the start of each transaction.
public static void OnStart(Action action)
Parameters
actionActionThe action to run at the start of each transaction.
Remarks
The action can start transactions itself, and the hooks do not then run again. The primary use of this is for the implementation of a time/alarm system.