Dart Programming for Intermediates: 03 Stream, StreamController, Sink

Опубликовано: 10 Март 2019
на канале: Dash to Dartlang
3,423
58

In this video, we go more in depth with learning how to use Streams and StreamController.

Stream - data that is being sent out of an object. It returns multiple values at multiple times.
StreamController - the object that you can use to contain the stream. It adds the stream, and tells information about it.
StreamSink - the object to use to add streams into the StreamController. You dump the Stream into the Sink that belongs to the StreamController.

code: https://gist.github.com/dashtodartlan...