Overview
The Sleep command provides functionality for:- Pausing execution for a specified number of milliseconds
- Rate limiting command execution to avoid overloading downstream systems
- Adding deliberate delays between processing steps
Command Type
Command Type ID: 1008Parameters
Usage Examples
1 Second Delay
500ms Delay
5 Second Delay
Common Use Cases
- Rate Limiting: Slow down processing to respect API rate limits
- Polling Intervals: Wait between polling cycles in scraper pipelines
- Debouncing: Introduce a delay before processing rapidly arriving updates
Related Commands
- JSON Parse - Parse data after a delay
- Http Request - Combine with HTTP requests for rate-limited polling