In utils we use: const kDestroyed = Symbol('kDestroyed') const kIsErrored = Symbol('kIsErrored') const kIsReadable = Symbol('kIsReadable') const kIsDisturbed = Symbol('kIsDisturbed') But that means that using helper methods with node core stream will give incorrect results. I believe we need to also check the methods from 'stream'. Alternatively change the core implementation to not use symbols...
Activity
ronag commentedon Nov 25, 2022
See nodejs/undici@213cbfe
mcollina commentedon Nov 25, 2022
Is there any way to get those Symbols out from Node.js core? If not, we should make some change there first.