View Source Nostrum.Cache.Mapping.ShardPidNum (Nostrum v0.6.1)

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

Specs

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

Gets the a shard pid from a shard number.