Class Queue

The queue length and refresh interval. The queue length is the number of jobs that are currently pending.

Constructors

  • Parameters

    • data: {
          cache_time: Date;
          inference: {
              pending_job_count: number;
          };
          legacy_tts: {
              pending_job_count: number;
          };
          refresh_interval_millis: number;
          success: boolean;
      }

      The raw queue data from the FakeYou API.

      • cache_time: Date
      • inference: {
            pending_job_count: number;
        }
        • pending_job_count: number
      • legacy_tts: {
            pending_job_count: number;
        }
        • pending_job_count: number
      • refresh_interval_millis: number
      • success: boolean

    Returns Queue

Properties

cacheTime: Date
refreshIntervalMillis: number
ttsQueued: number

The number of jobs that are currently pending. The bigger this number is, the longer it will take for your job to be processed.

v2vQueued: number

The number of jobs that are currently pending for the voice to voice. The bigger this number is, the longer it will take for your job to be processed.

Generated using TypeDoc