Package com.velocitypowered.api.event
Interface Continuation
-
public interface ContinuationRepresents a continuation of a paused event handler. Any of the resume methods may only be called once otherwise anIllegalStateExceptionis expected.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidresume()Resumes the continuation.voidresumeWithException(Throwable exception)Resumes the continuation after the executed task failed.
-
-
-
Method Detail
-
resume
void resume()
Resumes the continuation.
-
resumeWithException
void resumeWithException(Throwable exception)
Resumes the continuation after the executed task failed.
-
-