Click or drag to resize

ThrottlerQueueWorkAsync Method

This is preliminary documentation and is subject to change.

Asynchronously enqueues a work item.

Namespace: WikiClientLibrary.Infrastructures
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public Task<IDisposable> QueueWorkAsync(
	string name,
	CancellationToken cancellationToken
)

Parameters

name  String
The name of the work, for debugging purpose.
cancellationToken  CancellationToken
The token used to cancel the work before its action.

Return Value

TaskIDisposable
A task that completes after an appropriate throttling delay and that returns an IDisposable used to signal the completion of the work.
See Also