CachingBackend.WhenBackgroundTasksCompleted Method |
Returns a Task that is signaled to the complete state when all background tasks
have completed.
Namespace: PostSharp.Patterns.Caching.Implementation
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public virtual Task WhenBackgroundTasksCompleted( CancellationToken cancellationToken )
Parameters
- cancellationToken
- Type: System.Threading.CancellationToken
A CancellationToken.
Return Value
Type: TaskA Task that is signaled to the complete state when all background tasks have completed
Other background tasks may possibly be enqueued between the time the returned Task has been signaled and the time the signal is processed by the caller.