# Uses of Interface
net.md_5.bungee.api.scheduler.ScheduledTask

Packages that use ScheduledTask
Package
Description
net.md_5.bungee.api.scheduler

- ## Uses of ScheduledTask in net.md_5.bungee.api.scheduler

  Methods in net.md_5.bungee.api.scheduler that return ScheduledTask
  Modifier and Type
  Method
  Description
  `ScheduledTask`
  TaskScheduler.`runAsync(Plugin owner, Runnable task)`
  Schedule a task to be executed asynchronously.
  `ScheduledTask`
  TaskScheduler.`schedule(Plugin owner, Runnable task, long delay, long period, TimeUnit unit)`
  Schedules a task to be executed asynchronously after the specified delay is up.
  `ScheduledTask`
  TaskScheduler.`schedule(Plugin owner, Runnable task, long delay, TimeUnit unit)`
  Schedules a task to be executed asynchronously after the specified delay is up.
  Methods in net.md_5.bungee.api.scheduler with parameters of type ScheduledTask
  Modifier and Type
  Method
  Description
  `void`
  TaskScheduler.`cancel(ScheduledTask task)`
  Cancel a task to prevent it from executing, or if its a repeating task, prevent its further execution.