remove

fun remove(plugin: Plugin): Unit?

Removes the Scheduler for the specified plugin and cancels all its tasks.

Return

the removed Scheduler instance, or null if none existed

Parameters

plugin

the Plugin instance to remove the scheduler for