Beispiel #1
0
        public async Task <SagaData> LookForInstanceAsync(SingletonSagaTerminatingMessage message)
        {
            var sagaData = await SagaPersistence.GetSagaDataAsync <SingletonTestSagaData>(PARTITION_KEY, message.Id.ToString());

            return(sagaData);
        }
Beispiel #2
0
 public async Task HandleCommandAsync(IBus bus, SingletonSagaTerminatingMessage message, ILogger log)
 {
     await DeleteSagaAsync();
 }