onTimer method

Future<bool> onTimer()

Implementation

Future<bool> onTimer() async
{
  bool ok = true;

  // fire event
  if (!S.isNullOrEmpty(action)) ok = await EventHandler(this).execute(_action);

  // start a new timer
  start();

  return ok;
}