Wednesday 18 September 2019

How to handle time based events in Node/TypeScript.

Suppose, in my application, I want to have a user purchase a product. When they do so, a Shipping API goes out and creates a label and a WebHook is registered for when the API marks that the package is delivered. Within the next 72 hours, I want the user to rate their item, and if they don't, send a push notification reminding them to when those 72 hours have passed.What is the best way to handle that kind of "eventing" in Node?Thank you.

Submitted September 19, 2019 at 12:04AM by JamieCorkhill

No comments:

Post a Comment