removeScheduler

fun Plugin.removeScheduler(): Unit?

Removes the scheduler for this plugin and cancels all associated tasks.

This should typically be called when the plugin is being disabled.

Return

the Scheduler instance that was removed, or null if it didn't exist