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
TimeoutException
public T get(Duration timeout) throws TimeoutException
TimeoutException
public R getResponse()
Copyright © 2023. All rights reserved.