fs,net: emitting ready event for fs streams and network sockets in addition…
… to the event names they currently use.
Currently, various internal streams have different events that indicate that the underlying resource has successfully been established.
- fs streams use the open event once the file descriptor is available
- net.Sockets use the connect event once the socket has been established
- Http2Streams use the ready event once the underlying http/2 session is established
This commit adds ready event for fs and net sockets to standardize on emitting ready for all of these streams.
Fixes: #19304 (closed)
Checklist
[x ] make -j4 test (UNIX), or vcbuild test (Windows) passes [x ] tests and/or benchmarks are included [x ] commit message follows commit guidelines
Affected core subsystem(s) fs, net