Table of Contents

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 object
cancellationToken CancellationToken

Returns

ValueTask<Guid>

Type Parameters

T