exopy.tasks.tasks.util.sleep_task module

Task that makes the system wait on all multithreading pools for a set amount of time.

class exopy.tasks.tasks.util.sleep_task.SleepTask[source]

Bases: exopy.tasks.tasks.base_tasks.SimpleTask

Simply sleeps for the specified amount of time. Wait for any parallel operation before execution by default.

time

A value of type unicode.

By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.

wait

A value of type dict.

database_entries

A value of type dict.

perform()[source]

Main method of the task called when the measurement is performed.

check(*args, **kwargs)[source]

Check if time > 0