Libertas OS API Documentation
    Preparing search index...

    Function Libertas_WaitUntil

    • 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

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