Module-level declarations
Simple module to support delayed events by adding an event entity and then extend and listen to the callback.
Types
Link copied to clipboard
enum delay_type
Link copied to clipboard
entity delayed_event
Deprecated entity, replaced by scheduled_callback. Remove once migrated.
Link copied to clipboard
entity scheduled_event
Each entity represents a scheduled event to be triggered at a specific time. It is however not part of the delay implementation, but used to keep the time and later turn it into a delayed event.
Functions
Link copied to clipboard
Store information about a scheduled event. This will not execute it on time, just store it.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get the approximately time (delay) from "now" (last block time) to the scheduled_at time.
Link copied to clipboard
Link copied to clipboard