Unverified Commit 2ac7aded authored by Anna Henningsen's avatar Anna Henningsen
Browse files

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

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

PR-URL: https://github.com/nodejs/node/pull/17701


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarTimothy Gu <timothygu99@gmail.com>
Reviewed-By: default avatarAnatoli Papirovski <apapirovski@mac.com>
Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
parent de220097
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment