Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
event(_t: Time, x: A): void {
this.tasks.push(scheduleDelay(this.dt, propagateEventTask(x, this.sink), this.scheduler))
}
event(_t: Time, x: A): void {
this.clearTimer()
this.value = x
this.timer = delay(this.dt, new DebounceTask(this, x), this.scheduler)
}
run(sink: Sink<a>, scheduler: Scheduler): Disposable {
return delay(this.time, propagateTask(runAt, this.value, sink), scheduler)
}
}</a>
end(): void {
this.tasks.push(scheduleDelay(this.dt, propagateEndTask(this.sink), this.scheduler))
}
}