pylabrobot.liquid_handling.backends.websocket.WebSocketBackend.handle_event#

async WebSocketBackend.handle_event(event: str, data: dict)#

Handle an event from the browser.

This method is intended to be overridden by subclasses. Be sure to call the superclass if you want to preserve the default behavior.

Parameters:
  • event (str) – The event identifier.

  • data (dict) – The event data, deserialized from JSON.