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
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
- AFarmbot.Database.Syncable
struct that is implemented.now
-DateTime
of execution.