https://kotlinlang.org logo
#coroutines
Title
# coroutines
a

azeDevs

04/10/2019, 1:03 PM
What is the simplest implementation of a coroutine that runs a function on an interval timer in Kotlin/Native? I'm only finding solutions for Kotlin/JVM so far. My end goal is to pull data 30 times per second and update my GUI with it. If further context helps, the application is built with Cinterop for Windows and my GUI is built using: https://github.com/msink/kotlin-libui
5 Views