Member Junction
    Preparing search index...

    Class RealtimeConnectionSetup

    One realtime connection's setup, as the provider confirms it (Gemini Live's setupComplete). Gemini Live drops input that reaches a connection before it confirms the setup, so a driver puts a new connection to use only once Wait resolves. Create it before opening the connection, so a confirmation or a close that comes early is not missed.

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • The connection closed or failed before the provider confirmed the setup. Changes nothing once the setup was confirmed or had already failed.

      Parameters

      • error: Error

        Why the setup failed; Wait rejects with it.

      Returns void

    • Resolves once the provider confirms the setup. Rejects when the connection fails first, or when no confirmation comes within timeoutMs; the setup then counts as failed.

      Parameters

      Returns Promise<void>