advise Suspend
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
Content copied to clipboard
adviseSuspend(lifetime, scheduler, handler)Content copied to clipboard
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
Content copied to clipboard
adviseSuspend(lifetime, context, handler)Content copied to clipboard