Interface of the function used by the ShardRegion to
extract the shard id from an incoming message.
Only messages that passed the ExtractEntityId will be used
as input to this function.
Assembly: Akka.Cluster.Sharding.dll
[Obsolete("Use HashCodeMessageExtractor or IMessageExtractor instead.")]
public delegate string ExtractShardId(object message)
Parameters
Type |
Name |
Description |
object |
message |
Interface of the function used by the to extract the shard id from an incoming message. Only messages that passed the will be used as input to this function. |
Returns
Type |
Description |
string |
Interface of the function used by the to extract the shard id from an incoming message. Only messages that passed the will be used as input to this function. |
Extension Methods