Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

🚥 queues

This Worker implements a PUT endpoint that queues jobs on a queue, storing results in a KV namespace, and a GET endpoint that retrieves results from KV. Each job converts the request body to uppercase.

Test Overview
queue-consumer-integration-self.test.ts queue handler integration test using exports
queue-consumer-unit.test.ts Unit tests calling worker.queue() directly
queue-producer-integration-self.test.ts Integration tests for endpoints using exports
queue-producer-unit.test.ts Unit tests calling worker.fetch() directly mocking enqueuing and the consumer