Skip to main content
grasp.study
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Modern JS framework with TypeScript
·
Module 3
Observable Creation and Composition
1
Implementing a Type-Safe `pipe` Method on `Observable`
Implement a `pipe` method on the `Observable` prototype for composing operators, using function overloads for type safety across multiple operators.
2
Creating Observables with Static Factory Functions
Implement and test static factory functions (`of`, `from`, `interval`) for creating observables, ensuring correct type inference.
3
Multicasting with a Generic Subject
Implement a generic `Subject` class that acts as both an `Observer` and an `Observable` to multicast values.
4
Implementing a `share` Operator with `Subject`
Implement and test a `share` operator that uses a `Subject` to convert a cold, unicast observable into a hot, multicast observable.
Previous module
Core Observable Architecture
Next module
Pipeable Operators: Transformation & Filtering