Libertas OS API Documentation
    Preparing search index...

    Function Libertas_Wait

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

      Parameters

      • OptionalmilliSeconds: number

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

      Returns void

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