HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/node_modules/@ionic/utils-process/dist/index.d.ts
/// <reference types="node" />
export declare const ERROR_TIMEOUT_REACHED: Error;
export declare function killProcessTree(pid: number, signal?: string | number): Promise<void>;
/**
 * Creates an alternative implementation of `process.env` object.
 *
 * On a Windows shell, `process.env` is a magic object that offers
 * case-insensitive environment variable access. On other platforms, case
 * sensitivity matters. This method creates an empty "`process.env`" object
 * type that works for all platforms.
 */
export declare function createProcessEnv(...sources: {
    [key: string]: string | undefined;
}[]): NodeJS.ProcessEnv;
/**
 * Split a PATH string into path parts.
 */
export declare function getPathParts(envpath?: string): string[];
/**
 * Resolves when the given amount of milliseconds has passed.
 */
export declare function sleep(ms: number): Promise<void>;
/**
 * Resolves when a given predicate is true or a timeout is reached.
 *
 * Configure `interval` to set how often the `predicate` is called.
 *
 * By default, `timeout` is Infinity. If given a value (in ms), and that
 * timeout value is reached, this function will reject with
 * the `ERROR_TIMEOUT_REACHED` error.
 */
export declare function sleepUntil(predicate: () => boolean, { interval, timeout }: {
    interval?: number;
    timeout?: number;
}): Promise<void>;
/**
 * Never resolves and keeps Node running.
 */
export declare function sleepForever(): Promise<never>;
/**
 * Register a synchronous function to be called once the process exits.
 */
export declare function onExit(fn: () => void): void;
export declare type ExitFn = () => Promise<void>;
/**
 * Register an asynchronous function to be called when the process wants to
 * exit.
 *
 * A handler will be registered for the 'SIGINT', 'SIGTERM', 'SIGHUP',
 * 'SIGBREAK' signals. If any of the signal events is emitted, `fn` will be
 * called exactly once, awaited upon, and then the process will exit once all
 * registered functions are resolved.
 */
export declare function onBeforeExit(fn: ExitFn): void;
/**
 * Remove a function that was registered with `onBeforeExit`.
 */
export declare function offBeforeExit(fn: ExitFn): void;
/**
 * Asynchronous `process.exit()`, for running functions registered with
 * `onBeforeExit`.
 */
export declare function processExit(exitCode?: number): Promise<void>;