I want a flow that polls an API indefinately until...
# flow
d
I want a flow that polls an API indefinately until explicitly canceled. Is there a native/function for that purpose ? Or Shoujld I loop in the flow producer? Or loop calling collect ?
m
I do exactly that with loping in the flow producer. If you loop calling collect instead you move the responsibility for coordinating updates from the upstream API client/flow to the downstream consumer.