Class InputRequestFuture
java.lang.Object
com.zenith.util.RequestFuture
com.zenith.feature.player.InputRequestFuture
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInputExecutedListener(Consumer<InputRequestFuture> listener) Add a callback function to be run if the input was completed, accepted, and executed.voidstatic InputRequestFuturewrap(RequestFuture future) Methods inherited from class com.zenith.util.RequestFuture
cancel, complete, get, get, getNow, immediateFuture, isCancelled, isDoneMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Field Details
-
rejected
-
-
Constructor Details
-
InputRequestFuture
public InputRequestFuture()
-
-
Method Details
-
addInputExecutedListener
Add a callback function to be run if the input was completed, accepted, and executed. Called after the client bot tick event. -
notifyListeners
public void notifyListeners() -
wrap
-