Agenda is a scheduling system within Stella that will run a specific node for a member in a specific time. We can use
this.newAgenda to create an agenda for a member.
The agenda will be executed at the specified time: the
nextRunAt field for a single run, or the
pattern field for multiple runs. The
tag field is used for tagging the agenda. The tag can be used with the
replace field which, when creating a new agenda with the
replace field as true, will remove any old agendas with the same tag of the same member, and replace it with the new agenda. The field
meta can be used to save information in the agenda. The information can be accessed by “this.agendaMeta” when the node is executed.
More to add on soon...