com.noheltcj.rxcommon.emitters.SingleEmitter.kt Maven / Gradle / Ivy
package com.noheltcj.rxcommon.emitters
class SingleEmitter(doOnDispose: () -> Unit) : ColdEmitter(doOnDispose) {
override fun next(value: E) {
super.next(value)
super.complete()
}
@Deprecated("Only intended for internal use.", level = DeprecationLevel.HIDDEN)
override fun complete() {
super.complete()
}
}