Interface IBackgroundTaskQueue
- Namespace
- Raytha.Application.Common.Interfaces
- Assembly
- Raytha.Application.dll
public interface IBackgroundTaskQueue
Methods
DequeueAsync(CancellationToken)
ValueTask<BackgroundTask> DequeueAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
- ValueTask<BackgroundTask>
EnqueueAsync<T>(object, CancellationToken)
ValueTask<Guid> EnqueueAsync<T>(object args, CancellationToken cancellationToken)
Parameters
args
objectcancellationToken
CancellationToken
Returns
Type Parameters
T