public override async Task Handle <TResult>(TaskAwaiter <TResult> effect) { try { var result = await effect.Task; effect.SetResult(result); } catch (Exception ex) { await Log(ex, effect); throw; } }
public override async Task Handle<TResult>(TaskAwaiter<TResult> effect) { var result = await effect.Task; effect.SetResult(result); await Log(result, effect); }