DEV Community

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

Posted on

6 1

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)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay