1 /* 2 * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 5 package kotlinx.coroutines.rx2 6 7 import io.reactivex.functions.* 8 import kotlinx.coroutines.* 9 10 internal class RxCancellable(private val job: Job) : Cancellable { cancelnull11 override fun cancel() { 12 job.cancel() 13 } 14 }