View Source Train.Memory.BufferAgent (train v0.0.1-dev)

Stores the agent memory to be retrieved in the next call.

Link to this section Summary

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec clear(pid()) :: :ok
@spec get(pid()) :: [String.t()]
@spec put(pid(), String.t()) :: :ok
@spec put_many(pid(), [String.t()]) :: :ok
Link to this function

start_link(initial_value \\ [])

View Source