waitFor

open fun waitFor(next: Status, timeout: Long, tu: TimeUnit): Status

Return

status

Parameters

next

The Status the simulation should reach before returning from this method

timeout

The maximum lapse of time the caller wants to wait before being resumed

tu

The TimeUnit used to define "timeout"