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

    Parameters

    • timeout: number

      Unix time in seconds since Unix epoch.

    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