fancy-florist-18763
04/09/2026, 6:03 PMtall-airline-16756
04/09/2026, 6:03 PMtall-airline-16756
04/09/2026, 6:04 PMaclose() method.
• Use it as: await session.aclose()
• aclose() performs an immediate, awaitable shutdown and waits for queued operations to finish before closing.
• This differs from shutdown(drain=True), which allows graceful draining of pending speech but is non-blocking. Sources: Agent session | LiveKit Documentation | Job lifecycle | LiveKit Documentation, with interactive elements