Hi - A couple of general questions: (1) What is th...
# ask-community
i
Hi - A couple of general questions: (1) What is the use case for an imperative flow vs. functional flow? (2) When is mixing the two appropriate?
c
The underlying Flow itself will be identical regardless of whether you build it with the imperative or functional APIs; the two APIs are purely a matter of personal preference. The functional API is best for tasks which exchange data, and the imperative API is best for avoiding creating task copies
i
something like this? Where the results of various
tasks
are fed to the to a
write_results
task
but bound with different inputs. e.g.
filename
c
you’ll need to set a
key
for input binding here