value • catchError() - executed when the Future completes with an error • whenComplete() - executed when the Future completes; whether with an error or value
Used to get asynchronous sequence of data like from APIs, reading from files. Once all data elements have been emitted, a special event signalling the stream is done will notify any listeners that there is no more.