jacdac.device_script_condition.client

Module Contents

Classes

DeviceScriptConditionClient

Conditions are synthetic services used to synchronize threads of executions of a DeviceScript VM.

class jacdac.device_script_condition.client.DeviceScriptConditionClient(bus: jacdac.bus.Bus, role: str)

Bases: jacdac.bus.Client

Conditions are synthetic services used to synchronize threads of executions of a DeviceScript VM. Implements a client for the DeviceScript Condition service.

on_signalled(handler: jacdac.bus.EventHandlerFn) jacdac.bus.UnsubscribeFn

Triggered by signal command.

signal() None

Triggers a signalled event.