The watcher.applier.actions.sleep Module

class watcher.applier.actions.sleep.Sleep(config, osc=None)[source]

Bases: watcher.applier.actions.base.BaseAction

Makes the executor of the action plan wait for a given duration

The action schema is:

schema = Schema({
 'duration': float,
})

The duration is expressed in seconds.

execute()[source]
post_condition()[source]
pre_condition()[source]
revert()[source]

Previous topic

The watcher.applier.actions.nop Module

Next topic

The watcher.applier.base Module

Project Source

This Page