public class Wait<T,R> extends Object
| Constructor and Description |
|---|
Wait(WaitStarter<T> impl) |
Wait(WaitStarter<T> impl,
R response) |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
T |
get(Duration timeout) |
R |
getResponse() |
Wait<T,R> |
onProgress(Consumer<T> progress) |
public Wait(WaitStarter<T> impl)
public Wait(WaitStarter<T> impl, R response)
public T get() throws TimeoutException
TimeoutExceptionpublic T get(Duration timeout) throws TimeoutException
TimeoutExceptionpublic R getResponse()
Copyright © 2023. All rights reserved.