Skip to content

Use async/await like loop function #1

Open
@CC007

Description

@CC007

I saw that your example uses promises in the loop function in main.kt. I was looking if it was possible to use kotlin coroutines to implement support in kotlin for async/await. I found this discussion:
https://discuss.kotlinlang.org/t/async-await-on-the-client-javascript/2412

However this is using kotlin.js.*. Is there a way to do something similar with the wasm libraries?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions