stop • AI Agent SDK
stop: Signal the inbound loop to stop and tear down the connection.
stop
Async
Method
</div>
This is a method of the BasePlatformAdapter class in the base module.
Signal the inbound loop to stop and tear down the connection.
Default releases the default :meth:start wait, then delegates to :meth:disconnect. Adapters with their own run loop override this to unblock it first.
Signature
async def stop() -> NoneUses
disconnect
Source
View on GitHubpraisonaiagents/bots/base.py at line 590