public Task Timeout(MyTimeout state, IMessageHandlerContext context)
 {
     return(Task.FromResult(0));
 }
Esempio n. 2
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)
 {
 }
Esempio n. 6
0
 public Task Timeout(MyTimeout state, IMessageHandlerContext context)
 {
     return(context.Send(new SomeMessage()));
 }
Esempio n. 7
0
        public void Timeout(MyTimeout state)
        {
            Console.Out.WriteLine("Timeout fired, completing saga");

            MarkAsComplete();
        }