interrupt Method
Interrupts the current action.
Syntax
def interrupt() -> None: ...
Remarks
This method interrupts the current action. If you use send_file to upload a file, the class will run synchronously until the upload is completed. This method will allow you to stop the file from uploading without disconnecting from the host.