Specifically all synchronous functions should be *Sync and all other functions should be async. Mixed usage would be deprecated, but not removed for backwards compatibility.
For example, we should deprecate crypto functions like crypto.randomBytes(length) in favor of crypto.randomBytesSync(length).
There is no request for additional functionality. PR welcomed?
Reference: nodejs/node-v0.x-archive#7030
Specifically all synchronous functions should be
*Syncand all other functions should be async. Mixed usage would be deprecated, but not removed for backwards compatibility.For example, we should deprecate
cryptofunctions likecrypto.randomBytes(length)in favor ofcrypto.randomBytesSync(length).There is no request for additional functionality. PR welcomed?
Reference: nodejs/node-v0.x-archive#7030