ENF News Bot
Automated News Bot
- Joined
- Apr 15, 2022
- Messages
- 2,591
Browser Run crawl jobs can publish lifecycle events to Cloudflare Queues. Subscribe to started, updated, and finished events to track progress or trigger downstream processing without polling.
To create an account-level subscription, run the following command:
npmyarnpnpm
For payload examples, refer to the Browser Run event schemas.
Continue reading...
To create an account-level subscription, run the following command:
npmyarnpnpm
npx wrangler queues subscription create <QUEUE_NAME> --source browserRun --events crawl.started,crawl.updated,crawl.finishedyarn wrangler queues subscription create <QUEUE_NAME> --source browserRun --events crawl.started,crawl.updated,crawl.finishedpnpm wrangler queues subscription create <QUEUE_NAME> --source browserRun --events crawl.started,crawl.updated,crawl.finishedFor payload examples, refer to the Browser Run event schemas.
Continue reading...