PollQueue

class pyrogue.PollQueue(*, root)[source]

Poll queue scheduler.

Parameters:

root (Root) – Root object used for update grouping.

updatePollInterval(var)[source]

Update polling interval for a variable.

Parameters:

var (BaseVariable) – Variable whose poll interval changed.

Return type:

None

peek()[source]

Return (but don’t pop) the top entry in the queue.

Return type:

PollQueueEntry | None

empty()[source]

Return True of queue is empty, else False

Return type:

bool

pause(value)[source]

Pause or unpause the poll queue

Parameters:

value (bool) – True for pause, False for unpause

Return type:

None

paused()[source]

Check pause state

Return type:

bool