bpod_core.ipc.ServiceEvent

class bpod_core.ipc.ServiceEvent

Bases: NamedTuple

A service discovery event yielded by iter_services().

address: str

The address of the service.

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

‘added’ for new services, ‘removed’ for removed services.

Type:

The type of event

properties: dict[str, str | None]

The properties of the service.