SchedulerTask

org.apache.pekko.actor.SchedulerTask
trait SchedulerTask extends Runnable

A Task that will be notified when it is cancelled.

Attributes

Since

1.2.0

Source
Scheduler.scala
Graph
Supertypes
trait Runnable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def cancelled(): Unit

Called for SchedulerTasks that are successfully canceled via Cancellable#cancel. Overriding this method allows to for example run some cleanup.

Called for SchedulerTasks that are successfully canceled via Cancellable#cancel. Overriding this method allows to for example run some cleanup.

Attributes

Source
Scheduler.scala

Inherited and Abstract methods

def run(): Unit

Attributes

Inherited from:
Runnable