iya-sts
    Preparing search index...
    askMemory: (timeoutMs?: number) => Promise<any> = ...

    Type Declaration

      • (timeoutMs?: number): Promise<any>
      • Asks the api child for its own process.memoryUsage(), process.cpuUsage() and uptime over the fork's IPC channel, answered by debugger_api_status.ts preloaded into it (#329). Nothing is opened on the debugger's listener.

        Parameters

        • OptionaltimeoutMs: number

          how long to wait; 500 when omitted

        Returns Promise<any>

        a promise of { pid, memory, cpu, uptimeS }, or null when there is no child or it did not answer in time