跳轉到內容

Rebol 程式設計/wait

來自華夏公益教科書
WAIT value /all 

等待一段時間、埠或兩者。

WAIT 是一個原生值。

  • value -- (型別:數字 時間 埠 塊 無)
  • /all -- 在塊中返回所有事件

原始碼

[編輯 | 編輯原始碼]
wait: native[
    "Waits for a duration, port, or both." 
    value [number! time! port! block! none!] 
    /all "Returns all events in a block"
]
華夏公益教科書