PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​Backends.​RedisRedis­Caching­BackendWhen­Background­Tasks­Completed
Open sandboxFocus

RedisCachingBackend.WhenBackgroundTasksCompleted Method

WhenBackgroundTasksCompleted(CancellationToken)

Returns a System.Threading.Tasks.Task that is signaled to the complete state when all background tasks have completed.

Declaration
public override Task WhenBackgroundTasksCompleted(CancellationToken cancellationToken)
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken

A System.Threading.CancellationToken.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task that is signaled to the complete state when all background tasks have completed

Overrides
CachingBackend.WhenBackgroundTasksCompleted(CancellationToken)
Remarks

Other background tasks may possibly be enqueued between the time the returned System.Threading.Tasks.Task has been signaled and the time the signal is processed by the caller.