Delegate ClusterMemberAnnouncer<TAddress>
Represents a delegate that implements cluster node announcement logic.
Namespace: DotNext.Net.Cluster.Consensus.Raft.Membership
Assembly: DotNext.Net.Cluster.dll
Syntax
public delegate Task ClusterMemberAnnouncer<in TAddress>(TAddress address, IReadOnlyDictionary<string, string> metadata, CancellationToken token)
Parameters
| Type | Name | Description |
|---|---|---|
| TAddress | address | The address of the cluster member. |
| IReadOnlyDictionary<string, string> | metadata | The metadata associated with a cluster member. |
| CancellationToken | token | The token that can be used to cancel the operation. |
Returns
| Type | Description |
|---|---|
| Task | The task representing asynchronous result. |
Type Parameters
| Name | Description |
|---|---|
| TAddress | The type of the node address. |