View Source AsyncQuery (reactive_commons v1.0.2)

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".

Summary

Functions

Creates a new AsyncQuery structure

Functions

Creates a new AsyncQuery structure

Examples

iex> AsyncQuery.new("UserInfo", %{name: "username"})
%AsyncQuery{queryData: %{name: "username"}, resource: "UserInfo"}