Special Classes

IPC

The IPC class has the following methods available for use:

  • IPC.request(args) (see the Command Sheet for usage)

  • IPC.cancel_request(command: str) (see the COMMANDS section on the Special Variables and Types page)

  • IPC.update_file(file: str, current_state: str) (current state simply means the current file contents)

  • IPC.remove_file(file: str)

  • IPC.kill_IPC()

Response

The Response TypedDict classs allows for type checking when handling output from Salve. To access the resulut of the command simply use some_response["result"].


Now that you’ve finished this section, you can move onwards to the Special Variables and Types page!