Tangent.Agent.Intercept.get_and_update

You're seeing just the function get_and_update, go back to Tangent.Agent.Intercept module for more information.
Link to this function

get_and_update(agent, fun, timeout)

View Source

Specs

get_and_update(agent(), (state() -> {a, state()}), timeout :: integer()) :: a
when a: var
Link to this function

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

View Source

Specs

get_and_update(agent(), module(), atom(), [term()], timeout :: integer()) ::
  any()