Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WorkflowContext should provide extensions to subscribe to Flows #280

Closed
zach-klippenstein opened this issue Apr 13, 2019 · 0 comments · Fixed by #281
Closed

WorkflowContext should provide extensions to subscribe to Flows #280

zach-klippenstein opened this issue Apr 13, 2019 · 0 comments · Fixed by #281
Assignees
Labels
enhancement New feature or request kotlin Affects the Kotlin library. points: 1
Milestone

Comments

@zach-klippenstein
Copy link
Collaborator

zach-klippenstein commented Apr 13, 2019

Flow is the brand-new, preview/experimental abstraction for cold streams built-in to the coroutines standard library (Kotlin/kotlinx.coroutines#254, not to be confused with square/flow, the Android backstack library). It is compatible with the Reactive Streams spec, and similar to libraries like RxJava or Reactor, but written in pure Kotlin using coroutines. Most notably, this means it can be used in common modules in multi-platform projects, uses declaration-site variance, and propagates nullibility across operators. And since it's included in the coroutines library, we can support it directly from the workflow-core module without adding any dependencies.

While this library is still extremely unstable, and shouldn't be used in production, we can still build basic support for it as long as we keep the proper experimental annotations to discourage use in production (@FlowPreview).

@zach-klippenstein zach-klippenstein added enhancement New feature or request points: 1 labels Apr 13, 2019
@zach-klippenstein zach-klippenstein self-assigned this Apr 13, 2019
@zach-klippenstein zach-klippenstein added this to To do in Workflow (Kotlin) via automation Apr 13, 2019
@zach-klippenstein zach-klippenstein added this to the Post-v1.0 milestone Apr 13, 2019
zach-klippenstein added a commit that referenced this issue Apr 13, 2019
zach-klippenstein added a commit that referenced this issue Apr 13, 2019
zach-klippenstein added a commit that referenced this issue Apr 13, 2019
zach-klippenstein added a commit that referenced this issue Apr 16, 2019
zach-klippenstein added a commit that referenced this issue Apr 17, 2019
zach-klippenstein added a commit that referenced this issue Apr 17, 2019
zach-klippenstein added a commit that referenced this issue May 16, 2019
zach-klippenstein added a commit that referenced this issue May 16, 2019
zach-klippenstein added a commit that referenced this issue May 16, 2019
Workflow (Kotlin) automation moved this from To do to Done May 16, 2019
@zach-klippenstein zach-klippenstein added the kotlin Affects the Kotlin library. label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request kotlin Affects the Kotlin library. points: 1
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant