Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
run () {
return disposeNone()
}
}
run(): Disposable {
return disposeNone()
}
}
constructor(source: Stream<a>) {
this.source = source
this.sinks = []
this.disposable = disposeNone()
}
</a>
dispose(): void {
const disposable = this.disposable
this.disposable = disposeNone()
return disposable.dispose()
}
constructor(source: Stream<a>) {
this.source = source
this.sinks = []
this._disposable = disposeNone()
}
</a>
protected _dispose() {
const disposable = this._disposable
this._disposable = disposeNone()
disposable.dispose()
}
constructor(time: Time, outer: Outer, sink: Sink<b>) {
this.time = time
this.outer = outer
this.sink = sink
this.disposable = disposeNone()
}
</b>