upstash / qstash-js

Message queue for serverless
https://docs.upstash.com/qstash
MIT License
158 stars 15 forks source link

Add Failure Callback to publishJSON PublishRequest #68

Closed lucasishuman closed 10 months ago

lucasishuman commented 11 months ago

It looks like there is a callback option in the PublishRequest type, but I don't see anything for passing a failure callback when publishing a message.

Looking here: src/client/messages.ts

About failure callback: https://upstash.com/docs/qstash/features/callbacks#what-is-a-failure-callback

ogzhanolguncu commented 10 months ago

Closing this issue as the pull request has been merged.