Closed basaran closed 2 years ago
It appears to work fine, just asking if you think this might blow up in my face later which happens more often than it should :)
pg-boss will simply wait on the promise. There are no more rules. :)
arigato gosaymasu, closing again.
Hello again :)
A line of code is said to be worth a thousand words, so could you please watch the movie below and let me know if you think this might be an issue with pg-boss:
I'm basically creating an indefinite promise, for pg-boss to hold on to ,and rejecting it later if need be. Hope this makes sense. The dumb setInterval is there to keep the promise open, otherwise node I suppose claims it or something.