• Suspend the execution of current thread until either the specified wait time is reached or any subscribed events happened.

    Parameters

    • Optional milliSeconds: number

      Wait or sleep time. A negative number (-1) or undefined value means wait forever.

      Optional

    Returns void

    Remarks

    This API shall be used only with imperative thread. Mixing imperative and reactive API calls within a thread will raise an error during runtime.

Generated using TypeDoc