DCode

Covers Engine 2.0.0

task

Run the periodic task handler. Omit the argument to use elapsed_seconds, or supply an identifier to receive the elapsed seconds under that name.

Syntax

task [elapsed_seconds]:

Available in

  • A task_periodic declaration

Example

task elapsed_seconds:
    -- repeated work