public static interface SynchronizerApi.RunGet
| Modifier and Type | Method and Description |
|---|---|
<T> SynchronizerApi.Get.WakeSleepInvoke<T> |
get(Supplier<T> getter)
Sets the given
Supplier as the main action of the chain. |
SynchronizerApi.Run.WakeSleepInvoke |
run(Runnable runnable)
Sets the given
Runnable as the main action of the chain. |
SynchronizerApi.Run.WakeSleepInvoke run(Runnable runnable)
Runnable as the main action of the chain.runnable - the action to performNullPointerException - if runnable is null<T> SynchronizerApi.Get.WakeSleepInvoke<T> get(Supplier<T> getter)
Supplier as the main action of the chain.getter - the action to performNullPointerException - if getter is nullCopyright © 2021. All rights reserved.