DEV Community

Cover image for RxJS Tip: Use a Creation Function
Deborah Kurata for Angular

Posted on

RxJS Tip: Use a Creation Function

Some of the Angular features, such as Http, automatically create and return Observables. But in some cases, you may want to create your own Observables.

Create your own Observable using a creation function.

What Is a Creation Function?

A creation function is an RxJS library function that takes in arguments and returns an Observable.

You can create an Observable from a set, an array, a timer, keyboard events, mouse events, and much more.

This series covers the more common creation functions.

Top comments (0)