Join Slack
Powered by
What is the difference between calling `cf.run` vs...
# marvin-ai
d
datamongus
02/07/2025, 9:22 PM
What is the difference between calling
cf.run
vs.
cf.task
?
j
Jeremiah
02/07/2025, 10:20 PM
Run creates a task and runs it, returning the result. Task creates a task and returns it without running it, in case you want to control execution yourself.
👍 1
Jeremiah
02/07/2025, 10:20 PM
https://controlflow.ai/patterns/running-tasks#creating-and-running-a-task
d
datamongus
02/07/2025, 10:30 PM
Thank you
2
Views
Open in Slack
Previous
Next