View Source LiveQuery.Query.Def behaviour (LiveQuery v0.2.0)

TODO

Summary

Types

@type data() :: any()

Callbacks

Link to this callback

handle_call(msg, from, state)

View Source (optional)
@callback handle_call(
  msg :: any(),
  from :: GenServer.from(),
  state :: %{:key => any(), :config => map(), optional(:data) => data()}
) :: {:noreply, data()} | {:reply, any(), data()}
Link to this callback

handle_cast(msg, state)

View Source (optional)
@callback handle_cast(
  msg :: any(),
  state :: %{:key => any(), :config => map(), optional(:data) => data()}
) :: data()
Link to this callback

handle_info(msg, state)

View Source (optional)
@callback handle_info(
  msg :: any(),
  state :: %{:key => any(), :config => map(), optional(:data) => data()}
) :: data()
@callback init(state :: %{key: any(), config: map()}) :: data()

Functions