fn shards
The shard groups of the cluster.
Example:
use std.cluster
fn main() io {
print(cluster.shards().len())
}Output
0
pub(api) fn shards() -> List<ShardInfo>Complexity. O(s) in the number of shard groups.
Since. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/cluster/cluster.oxl:178