Discussions
Using Javascript with Monster.....
12 months ago by null
I'm doing text-to-image generation using JS. Currently, it seems like I have to:
- do a fetch to request the text-to-image generation
- do multiple fetches -- polling the process-id until the status comes back as COMPLETED
Is there a way to just do a single async call that you can wait on until the image is sent?
If not, what is your recommended method of polling?
J