Skip to content

src: rename `On*` -> `Emit*` for stream callbacks

Rodrigo Muino Tomonari requested to merge github/fork/addaleax/on2emit into master

This should make these function calls a lot more intuitive for people who are more accustomed to Node’s EventEmitter API.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

src/stream_base

Merge request reports

Loading