Tangent (Tangent v0.2.0) View Source

Documentation for Tangent.

Link to this section Summary

Link to this section Types

Specs

agent() :: Agent.agent()

Specs

on_start() :: Agent.on_start()

Specs

state() :: term()

Link to this section Functions

Link to this macro

cast(agent, fun)

View Source (macro)
Link to this macro

cast(agent, module, fun, args)

View Source (macro)
Link to this macro

get(agent, getter, timeout \\ 5000)

View Source (macro)
Link to this macro

get(agent, module, fun, args, timeout \\ 5000)

View Source (macro)
Link to this macro

get_and_update(agent, fun, timeout \\ 5000)

View Source (macro)
Link to this macro

get_and_update(agent, module, fun, args, timeout \\ 5000)

View Source (macro)
Link to this macro

start_link(fun, options \\ [])

View Source (macro)
Link to this macro

start_link(module, fun, args, options \\ [])

View Source (macro)
Link to this macro

stop(agent, reason \\ :normal, timeout \\ :infinity)

View Source (macro)
Link to this macro

update(agent, fun, timeout \\ 5000)

View Source (macro)
Link to this macro

update(agent, module, fun, args, timeout \\ 5000)

View Source (macro)