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 @@
Parameters
Edit this page - View Source + View Source

InitializeAsync(CancellationToken)

diff --git a/api/DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.html b/api/DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.html index 534e11869..ed1c76d00 100644 --- a/api/DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.html +++ b/api/DotNext.Net.Cluster.Consensus.Raft.MemoryBasedStateMachine.html @@ -297,7 +297,7 @@
Exceptions
Edit this page - View Source + View Source

MemoryBasedStateMachine(string, int, Options?)

@@ -361,7 +361,7 @@

Properties Edit this page - View Source + View Source

CompactionCount

@@ -392,7 +392,7 @@
Property Value
Edit this page - View Source + View Source

IsBackgroundCompaction

@@ -427,7 +427,7 @@

Methods Edit this page - View Source + View Source

ApplyAsync(LogEntry)

@@ -488,7 +488,7 @@
Edit this page - View Source + View Source

ClearAsync(CancellationToken)

@@ -606,7 +606,7 @@
Returns
Edit this page - View Source + View Source

Dispose(bool)

@@ -642,7 +642,7 @@
Overrides
Edit this page - View Source + View Source

ForceCompactionAsync(long, CancellationToken)

@@ -730,7 +730,7 @@
Exceptions
Edit this page - View Source + View Source

InitializeAsync(CancellationToken)

@@ -798,7 +798,7 @@
Exceptions
Edit this page - View Source + View Source

ReplayAsync(CancellationToken)

diff --git a/api/DotNext.Net.Cluster.Consensus.Raft.PersistentState.LogEntry.html b/api/DotNext.Net.Cluster.Consensus.Raft.PersistentState.LogEntry.html index 4c5b5f7d9..de1e8dd35 100644 --- a/api/DotNext.Net.Cluster.Consensus.Raft.PersistentState.LogEntry.html +++ b/api/DotNext.Net.Cluster.Consensus.Raft.PersistentState.LogEntry.html @@ -117,7 +117,7 @@

Properties Edit this page - View Source + View Source

CommandId

@@ -148,7 +148,7 @@
Property Value
Edit this page - View Source + View Source

Context

@@ -179,7 +179,7 @@
Property Value
Edit this page - View Source + View Source

Index

@@ -210,7 +210,7 @@
Property Value
Edit this page - View Source + View Source

IsSnapshot

@@ -241,7 +241,7 @@
Property Value
Edit this page - View Source + View Source

Length

@@ -272,7 +272,7 @@
Property Value
Edit this page - View Source + View Source

Term

@@ -303,7 +303,7 @@
Property Value
Edit this page - View Source + View Source

Timestamp

@@ -336,7 +336,7 @@

Methods Edit this page - View Source + View Source

GetReader()

@@ -368,7 +368,7 @@
Returns
Edit this page - View Source + View Source

TransformAsync<TResult, TTransformation>(TTransformation, CancellationToken)

@@ -465,7 +465,7 @@
Exceptions
Edit this page - View Source + View Source

TryGetMemory(out ReadOnlyMemory<byte>)

diff --git a/api/DotNext.Net.Cluster.Consensus.Raft.PersistentState.MissingPartitionException.html b/api/DotNext.Net.Cluster.Consensus.Raft.PersistentState.MissingPartitionException.html index 8146ef0a7..f9a80bc74 100644 --- a/api/DotNext.Net.Cluster.Consensus.Raft.PersistentState.MissingPartitionException.html +++ b/api/DotNext.Net.Cluster.Consensus.Raft.PersistentState.MissingPartitionException.html @@ -147,7 +147,7 @@

Properties Edit this page - View Source + View Source

Index

@@ -247,7 +247,7 @@

Extension Methods

Edit this page
  • - View Source + View Source
  • diff --git a/api/DotNext.Net.Cluster.Consensus.Raft.PersistentState.html b/api/DotNext.Net.Cluster.Consensus.Raft.PersistentState.html index b22c0e866..81ea9d462 100644 --- a/api/DotNext.Net.Cluster.Consensus.Raft.PersistentState.html +++ b/api/DotNext.Net.Cluster.Consensus.Raft.PersistentState.html @@ -954,7 +954,7 @@
    Exceptions
    Edit this page - View Source + View Source

    CreateBinaryLogEntry(ReadOnlyMemory<byte>)

    @@ -1004,7 +1004,7 @@
    Returns
    Edit this page - View Source + View Source

    CreateBinaryLogEntry<T>(T)

    @@ -1070,7 +1070,7 @@
    Type Parameters
    Edit this page - View Source + View Source

    CreateJsonLogEntry<T>(T?)

    diff --git a/api/DotNext.Threading.AsyncBridge.html b/api/DotNext.Threading.AsyncBridge.html index b70f95d13..1cce36e34 100644 --- a/api/DotNext.Threading.AsyncBridge.html +++ b/api/DotNext.Threading.AsyncBridge.html @@ -115,7 +115,7 @@

    Properties Edit this page - View Source + View Source

    MaxPoolSize

    @@ -149,7 +149,7 @@

    Methods Edit this page - View Source + View Source

    WaitAnyAsync(ReadOnlySpan<CancellationToken>)

    @@ -206,6 +206,83 @@
    Exceptions
    InvalidOperationException

    tokens is empty.

    + + + + + + | + Edit this page + + + View Source + + +

    WaitAnyAsync(ReadOnlySpan<CancellationToken>, out Func<object?, bool>)

    +

    Creates a task that will complete when any of the supplied tokens have canceled.

    +
    +
    +
    Declaration
    +
    +
    public static Task<CancellationToken> WaitAnyAsync(this ReadOnlySpan<CancellationToken> tokens, out Func<object?, bool> interruption)
    +
    +
    Parameters
    + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    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.

    +
    +
    Returns
    + + + + + + + + + + + + + +
    TypeDescription
    Task<CancellationToken>

    The canceled token.

    +
    +
    Exceptions
    + + + + + + + + + + + + + + + @@ -287,7 +364,7 @@
    Exceptions
    Edit this page - View Source + View Source

    WaitAsync(WaitHandle, CancellationToken)

    @@ -359,7 +436,7 @@
    Exceptions
    Edit this page - View Source + View Source

    WaitAsync(WaitHandle, TimeSpan, CancellationToken)

    diff --git a/xrefmap.yml b/xrefmap.yml index 52605c92a..f702a7566 100644 --- a/xrefmap.yml +++ b/xrefmap.yml @@ -42492,6 +42492,15 @@ references: fullName.vb: DotNext.Threading.AsyncBridge.WaitAnyAsync(System.ReadOnlySpan(Of System.Threading.CancellationToken)) nameWithType: AsyncBridge.WaitAnyAsync(ReadOnlySpan) nameWithType.vb: AsyncBridge.WaitAnyAsync(ReadOnlySpan(Of CancellationToken)) +- uid: DotNext.Threading.AsyncBridge.WaitAnyAsync(System.ReadOnlySpan{System.Threading.CancellationToken},System.Func{System.Object,System.Boolean}@) + name: WaitAnyAsync(ReadOnlySpan, out Func) + href: api/DotNext.Threading.AsyncBridge.html#DotNext_Threading_AsyncBridge_WaitAnyAsync_System_ReadOnlySpan_System_Threading_CancellationToken__System_Func_System_Object_System_Boolean___ + commentId: M:DotNext.Threading.AsyncBridge.WaitAnyAsync(System.ReadOnlySpan{System.Threading.CancellationToken},System.Func{System.Object,System.Boolean}@) + name.vb: WaitAnyAsync(ReadOnlySpan(Of CancellationToken), Func(Of Object, Boolean)) + fullName: DotNext.Threading.AsyncBridge.WaitAnyAsync(System.ReadOnlySpan, out System.Func) + fullName.vb: DotNext.Threading.AsyncBridge.WaitAnyAsync(System.ReadOnlySpan(Of System.Threading.CancellationToken), System.Func(Of Object, Boolean)) + nameWithType: AsyncBridge.WaitAnyAsync(ReadOnlySpan, out Func) + nameWithType.vb: AsyncBridge.WaitAnyAsync(ReadOnlySpan(Of CancellationToken), Func(Of Object, Boolean)) - uid: DotNext.Threading.AsyncBridge.WaitAnyAsync* name: WaitAnyAsync href: api/DotNext.Threading.AsyncBridge.html#DotNext_Threading_AsyncBridge_WaitAnyAsync_
    TypeCondition
    InvalidOperationException

    tokens is empty.

    +
    PendingTaskInterruptedException

    The returned task is interrupted by interruption procedure.