EU Parliament Monitor — API Documentation - v0.8.45
    Preparing search index...

    Function isDueForProbe

    • Return true when a PENDING document is due for a re-probe.

      Parameters

      • doc: PendingDocument

        Pending document record

      • now: Date = ...

        Reference time (defaults to new Date())

      Returns boolean

      true if doc.status is PENDING and doc.nextProbeAfter has passed