pymerlin.model_actions

This module provides actions that tasks can take. Certain actions are labeled async, which means they must be called with the await keyword - for example, await delay("01:00:00")

Module Contents

Functions

delay

spawn

:param coro: :return:

call

wait_until

:param condition: A function returning True or False

_yield_with

API

async pymerlin.model_actions.delay(duration)
pymerlin.model_actions.spawn(child)

:param coro: :return:

async pymerlin.model_actions.call(child)
async pymerlin.model_actions.wait_until(condition)

:param condition: A function returning True or False

async pymerlin.model_actions._yield_with(status)