Method Run
- Namespace
- SodaFlow
- Assembly
- SodaFlow.dll
Run<T>(Func<T>)
Runs the given function in one transaction.
public static T Run<T>(Func<T> f)
Parameters
fFunc<T>The function to run.
Returns
- T
The return value of
f.
Type Parameters
TThe type of the value returned.
Remarks
Usually this is not necessary, because each primitive opens its own transaction automatically. It is useful to run more than one reactive operation atomically.