REBOL Programming/wait

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

WAIT value /all 

DESCRIPTION:[edit]

Waits for a duration, port, or both.

WAIT is a native value.

ARGUMENTS[edit]

  • value -- (Type: number time port block none)

REFINEMENTS[edit]

  • /all -- Returns all events in a block

SOURCE CODE[edit]

wait: native[
    "Waits for a duration, port, or both." 
    value [number! time! port! block! none!] 
    /all "Returns all events in a block"
]