Init
Called when a promise is constructed. This does not mean that corresponding before/after events will occur, only that the possibility exists. This will happen if a promise is created without ever getting a continuation.
Since
v17.1.0, v16.14.0
Parameters
promise
The promise being created.
parent
The promise continued from, if applicable.