Shardex.Strategy.Static (shardex v0.1.0)

Copy Markdown View Source

Routes from a fixed map: {Shardex.Strategy.Static, map: %{key => shard}, default: shard}. Without :default, unmapped keys are {:error, :unassigned}. Handy in tests.