Interface Scheduler.TaskRunOnClose

All Superinterfaces:
Runnable
Enclosing interface:
Scheduler

public static interface Scheduler.TaskRunOnClose extends Runnable
If a TaskRunOnClose is used in scheduleOnce it will be run when the Scheduler is closed (ActorSystem shutdown). This is needed for the internal shutdown of dispatchers in Pekko and is not intended to be used by end user applications, but it's public because a custom implementation of Scheduler must also implement this.
  • Method Summary

    Methods inherited from interface java.lang.Runnable

    run