initCoroutineScope

open suspend override fun initCoroutineScope(coroutineScope: CoroutineScope?): CoroutineScope

Initialize a new CoroutineScope which can hold ApplicationContext for all coroutines that use this scope

Return

Parameters

coroutineScope

if any existing coroutineScope passed then a new coroutineScope is created from that param and init for holding ApplicationContext