LazyFetchable

Context capability for inventories that fetch data asynchronously.

Custom contexts only need to implement this interface when they are used with lazy fetched inventories.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Identifier used to share the internal inventory event handler.

Functions

Link copied to clipboard
abstract fun registerEvents(listener: Listener)

Registers an event listener with the plugin.

Link copied to clipboard
abstract fun runTask(block: () -> Unit): BukkitTask

Runs a task on the server main thread.

Link copied to clipboard
abstract fun runTaskAsync(block: () -> Unit): BukkitTask

Runs a task asynchronously.