Search⌘ K
AI Features

Introduction to Concurrent Programs

Explore the fundamentals of concurrency in reactive programming with RxJS. Understand how to build efficient programs by chaining Observable operators in pipelines, ensuring high concurrency with pure functions and no external state. This lesson helps you create complex applications, like a reactive spaceship game, using effective concurrent programming techniques.

Concurrency

Concurrency is the art of doing several things at the same time, correctly and efficiently. To accomplish this, we structure our programs to take advantage of time so that tasks run together in the most efficient way.

Examples of everyday concurrency in applications include keeping the user interface responsive while other activities are taking place, and processing hundreds of customers’ orders efficiently.

In this chapter, we’ll explore concurrency and ...