Skip to content

Conversation

g000sha256
Copy link

@g000sha256 g000sha256 commented Oct 13, 2025

See #4530

// -------------------------------- asFlow --------------------------------

/**
* Represents this shared flow as a flow.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please expand the documentation:

  • Differences from simple upcasting should be explained.
  • The purpose is not immediately clear.
  • A usage example would be nice, as it's not always obvious where to stick asFlow().

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@dkhalanskyjb dkhalanskyjb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

@dkhalanskyjb dkhalanskyjb merged commit b4a002e into Kotlin:develop Oct 15, 2025
dkhalanskyjb pushed a commit that referenced this pull request Oct 15, 2025
See its documentation for the explanation and rationale.

Fixes #4530
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants