MCCoroutine

interface MCCoroutine

Types

Companion
Link copied to clipboard
object Companion

Functions

disable
Link copied to clipboard
abstract fun disable(plugin: <ERROR CLASS>)

Disables coroutine for the given plugin.

disableLogging
Link copied to clipboard
abstract fun disableLogging(plugin: <ERROR CLASS>, suspendingPluginContainer: SuspendingPluginContainer)

Disables logging false positives.

getCoroutineSession
Link copied to clipboard
abstract fun getCoroutineSession(plugin: Any): CoroutineSession

Get coroutine session for the given plugin.

setupCoroutineSession
Link copied to clipboard
abstract fun setupCoroutineSession(pluginInstance: Any, pluginContainer: <ERROR CLASS>, suspendingPluginContainer: SuspendingPluginContainer)

Configures the suspending plugin container with the real plugin Container.