Пример #1
0
 internal FiberComputation(Func <T, IEnumerable <FiberStatus> > action, T state, bool isInternal)
     : this(action, new ComputationCookie())
 {
     this.state = state;
     this.isInternalComputation = isInternal;
     //No long running fibers for now.
     this.computationExecutionType = ComputationExecutionType.Standard;
 }
Пример #2
0
 public Computation(Action <T> action, ComputationExecutionType executionType)
     : this(action, new ComputationCookie())
 {
     this.computationExecutionType = executionType;
 }
Пример #3
0
 public Computation(Action <T> action, ComputationExecutionType executionType, ComputationCookie cookie)
     : this(action, cookie)
 {
 }