EasyUse/Logicgenerated

Sleep(sleep)

Sleep is a pass-through utility node in the EasyUse/Logic category.

sleep

any
out
delay
1.0
Easy Use

Sleep is a pass-through utility node in the EasyUse/Logic category. It accepts a value of any type, waits for a configured delay, and then returns that same value unchanged. It is useful for intentionally pausing a workflow, pacing requests, or waiting for an external process or resource to become available before continuing.

Inputs

  • any (ANYTYPE, required): The value to pass through the node. It can be any data type, including images, latents, conditioning, models, text, or custom objects. The node does not modify or inspect this value; it only holds it while the delay runs.

  • delay (FLOAT, required): The amount of time to wait before the input is passed to the output.

    • Default: 1
    • Minimum: 0
    • Maximum: 1000000
    • Step: 0.1
    • Set to 0 to make the node pass the input through immediately.

Outputs

  • ANYTYPE: The same value that was connected to the any input, returned after the configured delay has elapsed.

Usage Notes

  • The delay value is set as a numeric widget on the node and controls how long execution pauses before the output is returned.
  • Because the node blocks during the delay, avoid using extremely large values in interactive workflows or when multiple queued jobs need to run promptly. A maximum of 1000000 units is allowed, but anything above a few minutes is best reserved for deliberate waiting periods.
  • Use this node when you need a simple timing buffer between stages in a logic workflow, such as waiting before a poll, retry, or rate-limited operation.

Comments

Sign in with GitHub to join the discussion.

Loading comments…