ServiceEvent

class bpod_core.ipc.ServiceEvent

Bases: tuple

A service discovery event yielded by iter_services().

address: str

The address of the service.

kind: Literal['added', 'removed']

added when a service appears, removed when it disappears.

properties: dict[str, str | None]

The properties of the service.