registerCron method

void registerCron(
  1. WaCron cron
)

Registers a WaCron instance to be scheduled.

The cron parameter is the WaCron instance to be registered.

Implementation

void registerCron(WaCron cron) {
  crons.add(cron);
}