BPXE.Service behaviour (bpxe v0.3.0)

Link to this section Summary

Link to this section Functions

Link to this function

call(pid, request, model)

Link to this function

registered(pid, model, name)

Link to this function

start_link(module, options \\ [])

Link to this section Callbacks

Link to this callback

handle_request(request, model, from, state)

(optional)

Specs

handle_request(
  request :: %BPXE.Service.Request{payload: term()},
  model :: pid(),
  from :: term(),
  state :: term()
) :: {:reply, term(), term()} | {:noreply, term(), term()}