Join Slack
Communities
Powered by
Lets say i want to update a user location every 30...
# coroutines
h
Harun
11/25/2018, 9:19 AM
Lets say i want to update a user location every 30 seconds, currently i use a runnable with a handler to make this work. Is there a better way to do this is kotlin? Thread in Slack Conversation
d
dave08
11/25/2018, 10:14 AM
https://github.com/Kotlin/kotlinx.coroutines/blob/master/docs/channels.md#ticker-channels
h
Harun
11/25/2018, 10:30 AM
Okay thanks let me have a look
4
Views
Open in Slack
Previous
Next