tide v0.3.1 Tide.Agent View Source

The handler of Tide

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Get state value

Get next reaction

Change state value

Get reaction

Start a new agent

Get state

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

emit(pid, command, args \\ [])

View Source

Emit an event

See Tide.Server.emit/3

Link to this function

exec(pid, command, args \\ [])

View Source

Exec an event

See Tide.Server.exec/3

Get state value

See Tide.State.get/2

Get next reaction

See Tide.Reaction.next/1

Change state value

See Tide.State.put/3

Get reaction

Start a new agent

Get state