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 done all its required processing
and wishes to let the event proceed.
|
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()
Eventpublic 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-2016 SpigotMC. All Rights Reserved.