@valon-technologies/gestalt
    Preparing search index...

    Function decodeAppResult

    • Decodes one app operation result with the standard JSON envelope semantics: success envelopes return their data, error envelopes and HTTP-error statuses throw InvokeError, and any other JSON body passes through unchanged.

      Type Parameters

      • T = unknown

      Parameters

      • app: string
      • operation: string
      • result: { status: number; body: Uint8Array }

      Returns T