HMSCoroutineScope

object HMSCoroutineScope : CoroutineScope

Functions

Link copied to clipboard
fun HMSCoroutineScope.launchWithTimeout(block: suspend CoroutineScope.() -> Unit): Job
Link copied to clipboard
fun schedule(delay: Long, unit: TimeUnit = TimeUnit.MILLISECONDS, task: suspend () -> Unit): ScheduledFuture<*>
Link copied to clipboard
fun scheduleWithFixedDelay(delay: Long, unit: TimeUnit = TimeUnit.MILLISECONDS, task: suspend () -> Unit): ScheduledFuture<*>

Properties

Link copied to clipboard
Link copied to clipboard
val dispatcher: ExecutorCoroutineDispatcher
Link copied to clipboard

Extensions

Link copied to clipboard
fun HMSCoroutineScope.launchWithTimeout(block: suspend CoroutineScope.() -> Unit): Job