Types of Streams

In this lesson, you will learn about the types of Streams.

Types of Streams

There are two types of Streams that one can be used to carry out the asynchronous operations.

  1. Single Subscription

    Single subscription streams are meant to deliver events in order. These types of streams are used when the order of events received matters; like reading a file. Such types of Streams can only be listened to once. Attempting to listen to them again will throw an exception.

  2. Broadcast (Multiple subscribers) ...