• Terminate a thread.

    Parameters

    • Optional thread: number

      A thread handle. Undefined will terminate the current thread.

      Optional

    Returns void

    Remarks

    Subject to security check, a task can only terminate threads created by itself, otherwise an error will be raised.

Generated using TypeDoc