I came across this change some time ago and I could not track it down to any release notes, neither Node or V8.
Until Node12, non-awaited promise was returning empty Promise {}
, but since Node 14, it returns:
Promise {
undefined,
[Symbol(async_id_symbol)]: 51,
[Symbol(trigger_async_id_symbol)]: 5,
[Symbol(destroyed)]: { destroyed: false }
}
I clearly see that it was changed in Node14, as it is not present on Node 12 at all.
Does anyone know the source of this change and can point to the docs/provide any explanations to help to understand this change and its impact?