Question · Angular course · Module 7: RxJS
The of() function
What does the of() function do in RxJS?
Answer options
- Creates an Observable from the given values and completes the stream
- Creates an Observable that listens for DOM events
- Emits values indefinitely every second
- Converts a Promise into an Observable
You can check the correct answer by solving this task in the CodeWorlds game.