Ask a question to get started
Enter to sendā¢Shift+Enter new line
end( self, ) -> None
End the session and close the stream.
Sends prompt end and session end events (if not already sent), then marks the session as inactive.