RunEffect(TaskId, TState, Func<TState, DurableTaskResponse>)
virtual
protected internal virtual DurableTaskResponse RunEffect<TState>(TaskId effectId, TState state, Func<TState, DurableTaskResponse> effect) Returns the outcome recorded for the effect
effectId, or runs the effect and records its outcome. Parameters
effectIdTaskId- The effect's identifier, a child of this execution.
stateTState- The state which
effectreceives. effectFunc<TState, DurableTaskResponse>- Runs the effect and returns its outcome: its result, or the exception which it threw. It doesn't throw.
Returns
The effect's outcome, which the host recorded.
