Skip to content
This repository was archived by the owner on Jan 4, 2026. It is now read-only.

You should see how Kotlin mixes coroutines and Flow #1

@ursusursus

Description

@ursusursus

quickly translated to swift

Flow { emitter in
   await Task.sleep(10_000_000)
   emitter.emit(42)
}

when the closure returns, the stream completes

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