Open in app
Roman Elizarov
7.3K Followers
About

Sign in

7.3K Followers
About
Open in app
Roman Elizarov is there any difference between the implementation you posted and the following?
1

Markus Padourek

Roman Elizarov

Roman Elizarov

Aug 20, 2019·1 min read

Yes. channelFlow is a “high level” primitive and it starts the coroutine by itself. The implementation I’ve posted is more “low level”.

Written by

Roman Elizarov

Project Lead for the Kotlin Programming Language @JetBrains

More from Roman Elizarov

Project Lead for the Kotlin Programming Language @JetBrains

More From Medium

Phantom of the Coroutine

Roman Elizarov

A Tribute to Java

Roman Elizarov

Functional Programming is on the rise

Roman Elizarov

Kotlin and Exceptions

Roman Elizarov

Programming Binary Search

Roman Elizarov

Deep recursion with coroutines

Roman Elizarov

Shared flows, broadcast channels

Roman Elizarov

Programming Language Evolution

Roman Elizarov

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store