events.captureRejectionSymbol


稳定性: 1 - captureRejections 是实验的。

值: Symbol.for('nodejs.rejection')

了解如何编写自定义的拒绝句柄

Stability: 1 - captureRejections is experimental.

Value: Symbol.for('nodejs.rejection')

See how to write a custom rejection handler.