public function throttle($throttleDuration, $scheduler = null) { return $this->lift(function () use($throttleDuration, $scheduler) { return new ThrottleOperator($throttleDuration, $scheduler); }); }