Stone v0.2.0 Stone.Operations

Basic building blocks for your GenServers. Use these macros to define your desired functionality.

Summary

Macros

Define server handle_call/3 function with parameters packed as a tuple

Define server handle_cast/2 function with parameters packed as a tuple

Define server init/1 function clause with parameters packed as a tuple

Define server starting function(start, start_link) together with corresponding init/1

Macros

defcall(declaration_ast, options \\ [], body \\ [])

Define server handle_call/3 function with parameters packed as a tuple.

defcast(declaration_ast, options \\ [], body \\ [])

Define server handle_cast/2 function with parameters packed as a tuple.

definit(arg \\ quote() do _ end, options \\ [])

Define server init/1 function clause with parameters packed as a tuple.

defstart(declaration_ast, options \\ [])

Define server starting function(start, start_link) together with corresponding init/1.