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; }
public Computation(Action <T> action, ComputationExecutionType executionType) : this(action, new ComputationCookie()) { this.computationExecutionType = executionType; }
public Computation(Action <T> action, ComputationExecutionType executionType, ComputationCookie cookie) : this(action, cookie) { }