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

                context.LongTimeoutStored = true;
            }