Spear.Connection.read_api-question-mark

You're seeing just the function read_api-question-mark, go back to Spear.Connection module for more information.
Link to this function

read_api?(api, rpc)

View Source (since 0.8.0)

Specs

read_api?(api :: module(), rpc :: atom()) :: boolean()

Declares whether an API+RPC combination is read-only or not

Examples

iex> Spear.Connection.read_api?(Spear.Records.Streams, :Read)
true
iex> Spear.Connection.read_api?(Spear.Records.Streams, :Append)
false