longestPendingTimer function

  1. @experimental
Duration longestPendingTimer(
  1. NgZone zone
)

For a zone, returns the Duration of the longest pending timer.

If no timers are scheduled this will always return Duration.zero.

INTERNAL ONLY: This is an experimental API subject to change.

Implementation

@experimental
Duration longestPendingTimer(NgZone zone) => zone._longestPendingTimer;