Stream events - Deepstash

Stream events

The most important events on a readable stream are:

  • The data event, which is emitted whenever the stream passes a chunk of data to the consumer
  • The end event, which is emitted when there is no more data to be consumed from the stream.

9

39 reads

CURATED FROM

IDEAS CURATED BY

isaactu

Telecommunications researcher

The idea is part of this collection:

Metaverse

Learn more about computerscience with this collection

Find out the challenges it poses

Learn about the potential impact on society

Understanding the concept of Metaverse

Related collections

Similar ideas to Stream events

Implementing Duplex/Transform Streams

The readable and Writable sides of a duplex stream operate completely independently from one another. A transform stream is the more interesting duplex stream because its output is computed from its input. 

For a transform stream, we don’t have to implement the read or write methods, we onl...

Managing the negative aspects of a faulty memory

Strategies to mitigate some of the most harmful effects of memory biases:

  • Get information soon after an event, when everyone still remembers it.
  • Use a prioritised task list.
  • Take notes from important events, such as meetings.
  • Record important events and mil...

Attend Social Events :

The idea here is “putting yourself out there”, attend social events alone, keep these outings low-stakes. If you don’t talk to anyone for the first couple times, that’s fine! You still went out and were among strangers, which you never would have done before! Look for events around town where you...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates