iya-sts
    Preparing search index...

    Variable reserveIncident

    reserveIncident: (res: any) => any = reserveIncident

    Type Declaration

      • (res: any): any
      • Reserves the seq the response's audit row will carry, and returns it: the incident ID an error page prints. Calling it again returns the same number. Must be followed, in the same synchronous run, by the response being sent.

        Parameters

        • res: any

          the response the page is about to be sent on

        Returns any

        the reserved number, or 0 where none could be reserved