MCCoroutine

interface MCCoroutine

Hidden internal MCCoroutine interface.

Types

Companion
Link copied to clipboard
object Companion

Functions

disable
Link copied to clipboard
abstract fun disable(handler: Any)

Disposes the given coroutine session.

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

Get coroutine session for the given mod. When using an extension, coroutine scope is bound to the lifetime of the extension.