public Task Timeout(MyTimeout state, IMessageHandlerContext context) { return(Task.FromResult(0)); }
public Task Timeout(MyTimeout state, IMessageHandlerContext context) { return(TaskEx.CompletedTask); }
public void Handle(MyTimeout message) { Assert.Fail("Regular handler should not be invoked"); }
public void Timeout(MyTimeout timeout) { Data.TimeoutCalled = true; }
public void Timeout(MyTimeout state) { }
public Task Timeout(MyTimeout state, IMessageHandlerContext context) { return(context.Send(new SomeMessage())); }
public void Timeout(MyTimeout state) { Console.Out.WriteLine("Timeout fired, completing saga"); MarkAsComplete(); }