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
Nate
09/30/2024, 9:14 PM
hey @Robin
Nate
09/30/2024, 9:14 PM
there is no javascript client for prefect at this time
Nate
09/30/2024, 9:17 PM
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