MCCoroutine

interface MCCoroutine

Hidden internal MCCoroutine interface.

Types

Link copied to clipboard
object Companion

Functions

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

Disposes the given coroutine session.

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.