Modbuv.Model.Shared (modbuv v0.1.0)

Copy Markdown View Source

Agent that holds the Server/Slave DB.

Summary

Functions

apply(pid, frame, region)

@spec apply(pid(), tuple(), Modbuv.Model.region()) :: term()

start_link(model, opts \\ [])

@spec start_link(map(), keyword()) :: {:ok, pid()} | {:error, term()}

state(pid)

@spec state(pid()) :: map()

stop(pid)

@spec stop(pid()) :: :ok