set Timeout
Sets the timeout for this event waiter; the action will no longer be usable after the time has elapsed.
Return
This builder for chaining convenience
Parameters
timeout
Amount of time before the timeout occurs
timeout Unit
Unit of time for the timeout (minutes / seconds / millis...)
Throws
If the timeout is not positive
Sets the timeout for this event waiter; the action will no longer be usable after the time has elapsed.
Return
This builder for chaining convenience
Parameters
timeout
Amount of time before the timeout occurs
Throws
If the timeout is not positive