public static interface SynchronizerApi.SleepRunGet extends SynchronizerApi.RunGet
| Modifier and Type | Method and Description |
|---|---|
SynchronizerApi.RunGet |
sleepUntil(BooleanSupplier state)
Adds sleeping to the action chain.
|
get, runSynchronizerApi.RunGet sleepUntil(BooleanSupplier state)
false, this action chain resumes sleeping. Otherwise, the chain
continues by performing the main action.state - the supplier that returns true if the action chain should continue, false
otherwise.NullPointerException - if state is nullCopyright © 2021. All rights reserved.