Skip to content

Commit

Permalink
src: fix comment on StreamResource
Browse files Browse the repository at this point in the history
PR-URL: nodejs#49193
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
ywave620 authored and alexfernandez committed Nov 1, 2023
1 parent 66a4f77 commit 1fb263c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class StreamResource {
// These need to be implemented on the readable side of this stream:

// Start reading from the underlying resource. This is called by the consumer
// when more data is desired. Use `EmitAlloc()` and `EmitData()` to
// when more data is desired. Use `EmitAlloc()` and `EmitRead()` to
// pass data along to the consumer.
virtual int ReadStart() = 0;
// Stop reading from the underlying resource. This is called by the
Expand Down

0 comments on commit 1fb263c

Please sign in to comment.