Circle V2 API Docs
    Preparing search index...

    Variable buildFormFillingRunContextConst

    buildFormFillingRunContext: (
        ...args: [
            {
                patientId: PatientId;
                signal?: AbortSignal;
                timeoutMs?: number;
                treatmentEpisodeId?: TreatmentEpisodeId;
            },
        ],
    ) => Promise<FormFillingRunContext> = ...

    Bounded because getPatientVectorStores reaches a cold-start createIndex(..., waitUntilReady: true) — an unbounded wait that hung two production runs in running for 123 minutes. The race is the only release: neither Pinecone nor the repos take an AbortSignal today.

    Type Declaration

      • (
            ...args: [
                {
                    patientId: PatientId;
                    signal?: AbortSignal;
                    timeoutMs?: number;
                    treatmentEpisodeId?: TreatmentEpisodeId;
                },
            ],
        ): Promise<FormFillingRunContext>
      • Parameters

        • ...args: [
              {
                  patientId: PatientId;
                  signal?: AbortSignal;
                  timeoutMs?: number;
                  treatmentEpisodeId?: TreatmentEpisodeId;
              },
          ]

        Returns Promise<FormFillingRunContext>