adviseSuspend

fun <T> ISource<T>.adviseSuspend(lifetime: Lifetime, scheduler: IScheduler, handler: suspend (T) -> Unit)

Deprecated

Api moved to rd-core

Replace with

import com.jetbrains.rd.util.threading.coroutines.adviseSuspend
adviseSuspend(lifetime, scheduler, handler)

fun <T> ISource<T>.adviseSuspend(lifetime: Lifetime, context: CoroutineContext, handler: suspend (T) -> Unit)

Deprecated

Api moved to rd-core

Replace with

import com.jetbrains.rd.util.threading.coroutines.adviseSuspend
adviseSuspend(lifetime, context, handler)