Package net.runelite.client.callback
Class ClientThread
- java.lang.Object
-
- net.runelite.client.callback.ClientThread
-
@Singleton public class ClientThread extends Object
-
-
Constructor Summary
Constructors Constructor Description ClientThread()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
invoke(Runnable r)
void
invoke(BooleanSupplier r)
Will run r on the game thread, at an unspecified point in the future.void
invokeAtTickEnd(Runnable r)
void
invokeLater(Runnable r)
Will run r on the game thread after this method returns If r returns false, r will be ran again, at a later pointvoid
invokeLater(BooleanSupplier r)
-
-
-
Method Detail
-
invoke
public void invoke(Runnable r)
-
invoke
public void invoke(BooleanSupplier r)
Will run r on the game thread, at an unspecified point in the future. If r returns false, r will be ran again, at a later point
-
invokeLater
public void invokeLater(Runnable r)
Will run r on the game thread after this method returns If r returns false, r will be ran again, at a later point
-
invokeLater
public void invokeLater(BooleanSupplier r)
-
invokeAtTickEnd
public void invokeAtTickEnd(Runnable r)
-
-