HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/thorium/__pycache__/timer.cpython-310.pyc
o

�N�g<�@sdZddlZdd�ZdS)zg
Allow for flow based timers. These timers allow for a sleep to exist across
multiple runs of the flow
�NcCsj|ddid�}t��}dtvritd<|tdvr|td|<|td||kr3d|d<|td|<|S)a
    Wait for a given period of time, then fire a result of True, requiring
    this state allows for an action to be blocked for evaluation based on
    time

    USAGE:

    .. code-block:: yaml

        hold_on_a_moment:
          timer.hold:
            - seconds: 30
    F�)�name�resultZcommentZchangesZtimerTr)�time�__context__)r�seconds�ret�start�r
�F/opt/saltstack/salt/lib/python3.10/site-packages/salt/thorium/timer.py�hold	sr)�__doc__rrr
r
r
r�<module>s