Skip to content
angerangel edited this page Mar 19, 2013 · 1 revision

USAGE

   TASK spec body

DESCRIPTION

Creates a task.

TASK is a function value.

ARGUMENTS

  • spec -- Name or spec block (block!)
  • body -- The body block of the task (block!)

#SOURCE

task: make function! [  [
    "Creates a task."
    spec [block!] "Name or spec block"
    body [block!] "The body block of the task"
][
    make task! copy/deep reduce [spec body]
] ]
Clone this wiki locally