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