addPendingWork Method

Register async work that must complete before the formatter signals ready. Call this from an onBeforeFormattingReady listener.

addPendingWork(work: Promise<void>): void

Parameter Type Description
work Promise<void>  

Returns - void

Defined in

Last Updated: 18 April, 2026