drupflare/worker - v1.0.4
    Preparing search index...

    Function recordArrival

    • appends to the ring, dropping the oldest; returns the ring so a caller can assign it

      Parameters

      • arrivals: readonly Arrival[]
      • arrival: Arrival
      • cap: number = ARRIVAL_RING

      Returns Arrival[]