REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 31-Jan-2013 Edit History  

REBOL 3 Functions: wait

wait  value  /all

Waits for a duration, port, or both.


value [number! time! port! block! none!]


/all - Returns all in a block

See also:


If the value is a time!, delay for that period. If the value is an integer! or decimal!, wait that number of seconds. If the value is a port!, wait for an event from that port. If a block! is specified, wait for any of the times or ports to occur. Return the port that caused the wait to complete or return none if the timeout occurred.

print now/time
wait 1
print now/time
wait 0:00:01
print now/time

  TOC < Back Next > - WIP Wiki Feedback Admin