Package net.minestom.testing
Interface FlexibleListener<E extends net.minestom.server.event.Event>
public interface FlexibleListener<E extends net.minestom.server.event.Event>
-
Method Summary
Modifier and TypeMethodDescriptionvoidFails if an event is received.default voidfollowup()voidUpdates the handler.
-
Method Details
-
followup
Updates the handler. Fails if the previous followup has not been called. -
followup
default void followup() -
failFollowup
void failFollowup()Fails if an event is received. Valid until the next followup call.
-