BrazeCoroutineScope

object BrazeCoroutineScope : CoroutineScope

A coroutine scope for the various jobs performed by the SDK in parallel.

Properties

Link copied to clipboard
Link copied to clipboard
private val exceptionHandler: CoroutineExceptionHandler
Link copied to clipboard

If true, exceptions will be re-raised after logging. This is useful for testing.

Functions

Link copied to clipboard
@JvmName(name = "cancelChildren")
internal fun cancelChildren()
Link copied to clipboard
fun launchDelayed(startDelayInMs: Number, specificContext: CoroutineContext = coroutineContext, block: suspend () -> Unit): Job

Launch a function after a certain amount of delay.