farmbot v6.4.1 Farmbot.FarmEvent.Execution protocol View Source

Protocol to be implemented by any struct that can be executed by Farmbot.FarmEvent.Manager.

Link to this section Summary

Types

Data to be executed

t()

Functions

Execute an item.

  • data - A Farmbot.Database.Syncable struct that is implemented.
  • now - DateTime of execution

Link to this section Types

Data to be executed.

Link to this section Functions

Link to this function execute_event(data, now) View Source
execute_event(data(), DateTime.t()) :: any()

Execute an item.

  • data - A Farmbot.Database.Syncable struct that is implemented.
  • now - DateTime of execution.