An asynchronous exit point for a test.<p/>
package |
Default |
---|
__construct()
await( $arg0 = null) : void
If the current thread is interrupted, an exception will be thrown.
await()
Cause the current thread to wait until this completion completes with a configurable timeout.
If completion times out or the current thread is interrupted, an exception will be thrown.
param $timeoutMillis [integer] the timeout in milliseconds await($timeoutMillis)
integer
awaitSuccess( $arg0 = null) : void
If the current thread is interrupted or the suite fails, an exception will be thrown.
awaitSuccess()
Cause the current thread to wait until this completion completes and succeeds with a configurable timeout.
If completion times out or the current thread is interrupted or the suite fails, an exception will be thrown.
param $timeoutMillis [integer] the timeout in milliseconds awaitSuccess($timeoutMillis)
integer
complete() : void
count() : integer
integer
the current count
countDown() : void
handler( $arg0) : void
callable
isCompleted() : boolean
boolean
true if this completion is completed
isFailed() : boolean
boolean
true if the this completion is completed and failed
isSucceeded() : boolean
boolean
true if this completion is completed and succeeded
resolve( $arg0) : void
Future