Nostrum v0.4.0 Nostrum.Cache.Mapping.ShardPidNum View Source

Simple mapping of shard pid to num

Link to this section Summary

Functions

Gets the a shard pid from a shard number.

Link to this section Functions

Link to this function

get_pid(shard_num) View Source
get_pid(integer()) :: {:ok, pid()} | {:error, :id_not_found}

Gets the a shard pid from a shard number.