From IT Skills
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:Events JS libraries]]
 
[[Category:Events JS libraries]]
 +
[https://angular.io/guide/observables simple observables of frequently used types: of(...items)—Returns an [[Observable]] instance that synchronously delivers the values provided as arguments. from(iterable)—Converts its argument to an Observable instance. This method is commonly used to convert an array to an observable.]
 +
 
[https://github.com/Reactive-Extensions/RxJS Because observable sequences are data streams, you can query them using standard query operators implemented by the Observable type. Thus you can filter, project, aggregate, compose and perform time-based operations on multiple events easily...  Cancellation, exceptions, and synchronization are also handled gracefully by using the methods on the Observable object... What about [[Promises]]? Promises are good for solving [[asynchronous]] operations such as querying a service with an XMLHttpRequest, where the expected behavior is one value and then completion. Reactive Extensions for JavaScript unify both the world of Promises, callbacks as well as evented data such as DOM Input, Web Workers, and Web Sockets. Unifying these concepts enables rich composition... RxJS has no dependencies on [[jQuery]]...]
 
[https://github.com/Reactive-Extensions/RxJS Because observable sequences are data streams, you can query them using standard query operators implemented by the Observable type. Thus you can filter, project, aggregate, compose and perform time-based operations on multiple events easily...  Cancellation, exceptions, and synchronization are also handled gracefully by using the methods on the Observable object... What about [[Promises]]? Promises are good for solving [[asynchronous]] operations such as querying a service with an XMLHttpRequest, where the expected behavior is one value and then completion. Reactive Extensions for JavaScript unify both the world of Promises, callbacks as well as evented data such as DOM Input, Web Workers, and Web Sockets. Unifying these concepts enables rich composition... RxJS has no dependencies on [[jQuery]]...]
  

Latest revision as of 13:13, 10 August 2019

simple observables of frequently used types: of(...items)—Returns an Observable instance that synchronously delivers the values provided as arguments. from(iterable)—Converts its argument to an Observable instance. This method is commonly used to convert an array to an observable.

Because observable sequences are data streams, you can query them using standard query operators implemented by the Observable type. Thus you can filter, project, aggregate, compose and perform time-based operations on multiple events easily... Cancellation, exceptions, and synchronization are also handled gracefully by using the methods on the Observable object... What about Promises? Promises are good for solving asynchronous operations such as querying a service with an XMLHttpRequest, where the expected behavior is one value and then completion. Reactive Extensions for JavaScript unify both the world of Promises, callbacks as well as evented data such as DOM Input, Web Workers, and Web Sockets. Unifying these concepts enables rich composition... RxJS has no dependencies on jQuery...

pipeable operator is basically any function that returns a function with the signature: <T, R>(source: Observable<T>) => Observable<R>... In order to use the new pipeable operators and not gain bundle size, you will need... ModuleConcatenationPlugin

HistoricalScheduler