iya-sts
    Preparing search index...
    withPerson: <T>(realmId: string, projection: any, fn: () => T) => T = CellAttributes.withPerson

    Type Declaration

      • <T>(realmId: string, projection: any, fn: () => T): T
      • Runs a SYNCHRONOUS function with a fetched projection in this process's directory, and takes it out again before returning — thrown or not.

        Type Parameters

        • T

        Parameters

        • realmId: string

          the realm

        • projection: any

          what fetch() answered

        • fn: () => T

          the function; it must not return before it is done

        Returns T

        what fn returns