def sleep(seconds):
    """
    Transitions the execution to pause for the allotted duration.

    Args:
        seconds: The number of seconds to delay execution.
    """

    def action(state):
        return state.sleep(seconds)

    return action