Slackbot
11/09/2021, 2:08 PMJoffrey
11/09/2021, 2:09 PMfirst()
or single()
will cancel the flow after the first element. So depending on your use case you might be able to use onCompletion { }
or something like that. What are you trying to achieve?João Eudes Lima
11/09/2021, 2:15 PMJoão Eudes Lima
11/09/2021, 2:16 PMJoffrey
11/09/2021, 2:16 PMJoffrey
11/09/2021, 2:18 PMtake(2)
?João Eudes Lima
11/09/2021, 2:24 PMJoão Eudes Lima
11/09/2021, 2:24 PM