Skip to content

Move MutableStateFlow.updateCopy to arrow.optics #3897

Description

@Paradyx

The extension function

public fun <T> MutableStateFlow<T>.updateCopy(block: Copy<T>.() -> Unit)

is useful outside of Android's compose library. I suggest to move it from arrow-optics-compose to the arrow-optics library for those who do not use compose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions