• Create a new thread

    Parameters

    • func: Function

      The thread entry function

    • Rest ...args: any[]

      Arguments to the thread entry function.

      Rest

    Returns LibertasThread

    The thread handle.

    Remarks

    This operation is subject to system limit. Attempt to create threads exceeds the limit per task will raise an error.

Generated using TypeDoc