Rebol Programming/wait

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

WAIT value /all 

DESCRIPTION:[edit | edit source]

Waits for a duration, port, or both.

WAIT is a native value.

ARGUMENTS[edit | edit source]

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

REFINEMENTS[edit | edit source]

  • /all -- Returns all events in a block

SOURCE CODE[edit | edit source]

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