2016-10-17 51 views

回答

1

如何:

Rx.Observable.range(1, 5) 
    // Note this value will get used for every subscription 
    // after it is defined. 
    .startWith(userDefined) 
    .bufferWithCount(2, 1) 
    .subscribe(console.log); 
+0

當然。出於某種原因,我沒有想過在bufferWithCount之前嘗試startWith。謝謝。 – Core

相關問題