schedule method

  1. @override
Disposable schedule(
  1. Callback0 callback
)
override

Schedules a callback to be executed.

Implementation

@override
Disposable schedule(Callback0 callback) {
  final action = SchedulerActionCallback0(callback);
  zone.scheduleMicrotask(action.run);
  return action;
}