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