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.3+0a73c45f0c78941900e328c6c6b819597b665e00
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