Package net.openosrs.api.service.delay
Class TickDelayService.Handle
- java.lang.Object
-
- net.openosrs.api.service.delay.TickDelayService.Handle
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- TickDelayService
public static final class TickDelayService.Handle extends java.lang.Object implements java.lang.AutoCloseable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcancel()voidclose()booleanisCancelled()booleanisDone()booleanisElapsed()booleanisReady()Deprecated.intremaining()
-
-
-
Method Detail
-
isReady
@Deprecated public boolean isReady()
Deprecated.Legacy contract: true after expiry OR cancellation. Prefer isElapsed before an action.
-
isElapsed
public boolean isElapsed()
-
isDone
public boolean isDone()
-
remaining
public int remaining()
-
isCancelled
public boolean isCancelled()
-
cancel
public void cancel()
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
-