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

Method WhenBackgroundTasksCompleted

WhenBackgroundTasksCompleted(CancellationToken)

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

Declaration
public virtual Task WhenBackgroundTasksCompleted(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken

A CancellationToken.

Returns
Type Description
Task

A Task that is signaled to the complete state when all background tasks have completed