iya-sts
    Preparing search index...

    Variable withSource

    withSource: (source: any, fn: any) => any = withSource

    Type Declaration

      • (source: any, fn: any): any
      • Runs a function with a source ambient, so every row written inside it carries that source's address.

        Parameters

        • source: any

          { req } for an HTTP request, or { address } for a raw socket

        • fn: any

          the work to run

        Returns any

        what fn returns