Async Job Poller Developer
Design a robust async job poller with this AI prompt, featuring intelligent status checking, exponential backoff, and error handling.
What this prompt does
- Designs a comprehensive async job poller for handling long-running operations efficiently.
- Implements intelligent status checking with exponential backoff to minimize server load.
- Manages job states, including pending, processing, completed, and failed, with robust error handling.
How to use this prompt
- Fill in the [INSERT YOUR JOB STATUS ENDPOINT URL], [INSERT YOUR INITIAL POLLING INTERVAL IN SECONDS], [INSERT MAXIMUM TIMEOUT IN SECONDS], [INSERT YOUR PREFERRED PROGRAMMING LANGUAGE], and [INSERT ANY CUSTOM JOB STATES BEYOND STANDARD ONES] placeholders with your specific details.
- Example: "My status endpoint URL: https://api.example.com/job/status, My recommended polling interval: 5 seconds, My maximum timeout duration: 300 seconds, My preferred programming language: Python, My specific job states to handle: queued, in_progress, completed, failed."
Free prompt — copy, paste and run. Part of the Coding prompts collection in the God of Prompt library.