Hydrax.Agent (Hydrax v0.7.0) View Source

Link to this section Summary

Functions

A state wrapper around Hydrax.DeltaCrdt that conforms to the semantics of an Agent.Server.

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Functions

Link to this macro

__using__(opts)

View Source (macro)

A state wrapper around Hydrax.DeltaCrdt that conforms to the semantics of an Agent.Server.

This allows for fast local state reads with the tradeoff of eventually consistent writes.

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.