igorvd
07/11/2018, 12:58 PMWorker expects a return value, so I can't just use the launch dispatcher.
I'm using the runBlocking dispatcher to be able to call the suspend functions... Is this the right way to go?
Here's an example:
override fun doWork(): Result = runBlocking {
//call some suspend functions
return Result.SUCCESS
}
Thanks!