Replies: 2 comments 3 replies
-
Yes, it could be a string too. As long as it is JSON serialisable it will work. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Closing after #3187 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently
Job.updateProgress()
is declared as:Is there a specific reason for which
progress
must be anumber | object
?From what I can see here
progress
is serialized usingJSON.stringify()
, so would it be possible to support other types likestring
in order for the job to emit simpler messages?Beta Was this translation helpful? Give feedback.
All reactions