WhenLessThan
(
tasks
, max
)
|
A task that completes when less than the specified max tasks are running
Signature
static Task Meta.WitAi.TaskExtensions.WhenLessThan(this ICollection< Task > tasks, int max) Parameters tasks: this ICollection< Task >max: intReturns Task |
WhenLessThan
(
tasks
, max
, cancellationToken
)
|
A task that completes when less than the specified max tasks are running
Signature
static Task Meta.WitAi.TaskExtensions.WhenLessThan(this ICollection< Task > tasks, int max, CancellationToken cancellationToken) Parameters tasks: this ICollection< Task >max: intcancellationToken: CancellationTokenReturns Task |