invoke
Creates custom sharding strategy, that uses gateway default shard count
inline operator fun invoke(totalShards: Int, crossinline block: (ShardConfiguration) -> Boolean): Sharding(source)
Creates custom sharding strategy, that uses supplied totalShards shards count