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

                context.LongTimeoutStored = true;
            }