diff --git a/api/DotNext.Net.Cluster.Consensus.Raft.DiskBasedStateMachine.html b/api/DotNext.Net.Cluster.Consensus.Raft.DiskBasedStateMachine.html index 04520e898..fe2f0d5de 100644 --- a/api/DotNext.Net.Cluster.Consensus.Raft.DiskBasedStateMachine.html +++ b/api/DotNext.Net.Cluster.Consensus.Raft.DiskBasedStateMachine.html @@ -533,7 +533,7 @@
tokens
is empty.
Creates a task that will complete when any of the supplied tokens have canceled.
+public static Task<CancellationToken> WaitAnyAsync(this ReadOnlySpan<CancellationToken> tokens, out Func<object?, bool> interruption)
+ Type | +Name | +Description | +
---|---|---|
ReadOnlySpan<CancellationToken> | +tokens | +The tokens to wait on for cancellation. + |
+
Func<object, bool> | +interruption | +An interruption procedure than can be used to turn the returned task into the failed state. + |
+
Type | +Description | +
---|---|
Task<CancellationToken> | +The canceled token. + |
+
Type | +Condition | +
---|---|
InvalidOperationException | +
|
+
PendingTaskInterruptedException | +The returned task is interrupted by |