-
Notifications
You must be signed in to change notification settings - Fork 8
skip
richardszalay edited this page May 20, 2011
·
9 revisions
Ignores a set number or values from the start of the source sequence
function skip(count : uint) : IObservable.<T>
The returned sequence completes when the source sequence completes
The returned sequence errors when the source sequences errors
n = count
xs ──o──o─────o──o──o──/
│ │
1 2 ... n │ │
│ │
ys ──────────────o──o──/
IObservable.<T>
Observable.range(0, 5)
.skip(3)
.subscribe(function(value : int) : void
{
trace(value);
});
// Trace output is:
// 3
// 4