iya-sts
    Preparing search index...

    Variable collectWorkerGarbage

    collectWorkerGarbage: (ids: any, timeoutMs: any) => Promise<any> = collectWorkerGarbage

    Type Declaration

      • (ids: any, timeoutMs: any): Promise<any>
      • Asks ready request and hosted-surface worker threads to run a full garbage collection of their own isolate, and waits for what each measured.

        Parameters

        • ids: any

          the threadIds (the pool's pid for a worker) to ask, or null for every ready worker

        • timeoutMs: any

          how long to wait for the answers

        Returns Promise<any>

        a promise of { asked, answers }: asked the threadIds the question went to, answers { [threadId]: collection }, a worker that did not answer in time absent