T
- Type of this eventpublic class AsyncEvent<T> extends Event
Constructor and Description |
---|
AsyncEvent() |
Modifier and Type | Method and Description |
---|---|
void |
completeIntent(Plugin plugin)
Notifies this event that this plugin has completed an intent and wishes
to let the event proceed once all intents have been completed.
|
void |
postCall()
Method called after this event has been dispatched to all handlers.
|
void |
registerIntent(Plugin plugin)
Register an intent that this plugin will continue to perform work on a
background task, and wishes to let the event proceed once the registered
background task has completed.
|
public void postCall()
Event
public void registerIntent(Plugin plugin)
plugin
- the plugin registering this intentpublic void completeIntent(Plugin plugin)
plugin
- a plugin which has an intent registered for this eventCopyright © 2012–2019 SpigotMC. All rights reserved.