Tangent.Test.Agent (Tangent v0.2.3) View Source
An agent which will be started in the test environment in place of Agent
.
Link to this section Summary
Functions
Registers the owner
process as the parent of any agent overloads. After registering
an overload, any process that is a child of the caller will access a segmented dataset
when accessing the agent.
Link to this section Functions
Specs
Specs
register(agent :: Tangent.agent(), owner :: pid()) :: :ok
Registers the owner
process as the parent of any agent overloads. After registering
an overload, any process that is a child of the caller will access a segmented dataset
when accessing the agent.