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 str.

Under Python 2 this is a byte string and behaves as Bytes with respect to promotion, under Python 3 it is a unicode string and behaves as Unicode with respect to promotion.

The use of this member is discouraged in Python 2/3 compatible codebase as Bytes and Unicode provide a more homogeneous behavior.

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