View Source Zenohex.Queryable (Zenohex v0.3.0)
Documentation for Elixir.Zenohex.Queryable
.
Summary
Functions
Receive query. Normally users don't need to change the default timeout_us.
Types
@type t() :: reference()
Functions
@spec recv_timeout(t(), pos_integer()) :: {:ok, Zenohex.Query.t()} | {:error, :timeout} | {:error, reason :: any()}
Receive query. Normally users don't need to change the default timeout_us.
Examples
iex> {:ok, session} = Zenohex.open()
iex> {:ok, queryable} = Zenohex.Session.declare_queryable(session, "key/expression")
iex> Zenohex.Queryable.recv_timeout(queryable)
{:error, :timeout}