Dear all, is there an easy way to run javascript c...
# prefect-cloud
r
Dear all, is there an easy way to run javascript code with prefect? For example running the javascript code inside a docker container? Another option may be to trigger an AWS Lambda which runs the javascript code 🤔
n
hey @Robin
there is no javascript client for prefect at this time
but those two options you mentioned are feasible as well, since you can always use python to trigger any arbitrary container or lambda another pattern that might be interesting, sort of the opposite of what you proposed
fetch (POST)
a webhook to have your JS code create events in prefect that you can react to
r
Thank you for the answer!