View Source AsyncQuery (reactive_commons v0.8.0)
Queries represent a intention for getting information about something, that query must to be processed by the domain context with that responsibility and that context must respond with the information requested throught request/reply pattern. An example of a query may be: "UserInfo".
Link to this section Summary
Functions
Creates a new AsyncQuery structure
Link to this section Functions
Creates a new AsyncQuery structure
examples
Examples
iex> AsyncQuery.new("UserInfo", %{name: "username"})
%AsyncQuery{queryData: %{name: "username"}, resource: "UserInfo"}