Optional
continueOptional
continueChecked if a reset occurs while waiting. If true
, continues waiting. Otherwise, stops waiting and the wait
function returns
'reset'
Optional
timeoutMSecIf specified, the interval after which the wait
function will resolve with 'timeout'
if the waitable is still incomplete.
Checked if a failure occurs while waiting. If
true
, continues waiting. Otherwise, stops waiting and thewait
function returns'failure'