Skip to content

How to declare a job as busy or finished? #234

Answered by Hexagon
smit-luvani asked this question in Q&A
Discussion options

You must be logged in to vote

IsBusy() should be true as long as the function is still running, or the promise returned by the function isn't fulfilled. Try to declare the triggered function async, and await the promise before returning. Or just return the promise.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by smit-luvani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants