Exemplo n.º 1
0
            public async Task <DelayedMessage> FetchNextDueTimeout(DateTimeOffset at, CancellationToken cancellationToken = default)
            {
                var entity = await delayedMessageStoreImplementation.FetchNextDueTimeout(at, cancellationToken);

                if (entity != null)
                {
                    context.DispatchingTimeouts.Signal();
                }

                return(entity);
            }
 public Task <DelayedMessage> FetchNextDueTimeout(DateTimeOffset at, CancellationToken cancellationToken = default) => impl.FetchNextDueTimeout(at, cancellationToken);