Package com.velocitypowered.api.event
Interface Continuation
public interface Continuation
Represents a continuation of a paused event handler. Any of the resume methods
may only be called once otherwise an
IllegalStateException
is expected.-
Method Summary
Modifier and TypeMethodDescriptionvoid
resume()
Resumes the continuation.void
resumeWithException
(Throwable exception) Resumes the continuation after the executed task failed.
-
Method Details
-
resume
void resume()Resumes the continuation. -
resumeWithException
Resumes the continuation after the executed task failed.
-