The body-parser uses two rejection callbacks (abortCallback and pendingReject) that serve distinct purposes, but the logic requires careful reading to understand. While the implementation is correct, adding brief inline comments would help future maintainers.
The body-parser uses two rejection callbacks (
abortCallbackandpendingReject) that serve distinct purposes, but the logic requires careful reading to understand. While the implementation is correct, adding brief inline comments would help future maintainers.