Example #1
0
 public Task Store(DelayedMessage entity, CancellationToken cancellationToken = default) => impl.Store(entity, cancellationToken);
Example #2
0
 public Task Store(DelayedMessage entity, CancellationToken cancellationToken = default)
 {
     Transaction.Current.TransactionCompleted += (s, e) => context.StoringTimeouts.Signal();
     return(delayedMessageStoreImplementation.Store(entity, cancellationToken));
 }
Example #3
0
            public async Task Store(DelayedMessage entity, CancellationToken cancellationToken = default)
            {
                await impl.Store(entity, cancellationToken).ConfigureAwait(false);

                context.LongTimeoutStored = true;
            }