-
Notifications
You must be signed in to change notification settings - Fork 8
empty
richardszalay edited this page May 20, 2011
·
9 revisions
Creates an observable sequence that immediately completes.
static function empty(scheduler : IScheduler = null) : IObservable.<*>
The returned sequence immediately completes
The returned sequence does not raise errors
─/
Unless specified, this operator uses Scheduler.synchronous
.
IObservable.<*>
Observable.empty()
.subscribe(
null,
function():void { trace("Completed!"); }
);
// Trace output is:
// Completed!