Cant Preview Worker using queue in Pages functions
I have a CF Pages project that use a endpoint with Functions to bind form submits to a Queue. This Queue is consumed by a Worker that saves the messages in a D1 DB. And every 2 minutes the same worker get the messages in this D1 DB and send to a external API.
Everything is working just fine. But i cant figure out how to have a Worker preview, or even run the worker locally using this flow, to test before merging to main.
Everything is working just fine. But i cant figure out how to have a Worker preview, or even run the worker locally using this flow, to test before merging to main.