DEV Community

Cover image for RxJS Tip: Use a Creation Function

RxJS Tip: Use a Creation Function

deborahk profile image Deborah Kurata ・1 min read

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.

Discussion (0)

Editor guide