doc: Infinity for emitter.setMaxListeners
Instead of recommending 0
as the magic value to set max listeners to unlimited, recommend Infinity
.
This paves the way for 0
as a magic value eventually being deprecated and finally removed
original discussion: https://github.com/joyent/node/issues/22987 original PR: https://github.com/joyent/node/pull/25269