@honua/sdk-js
    Preparing search index...

    Interface LocalInstallRuntimeExperimental

    interface LocalInstallRuntime {
        fetchFn?: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        };
        now?: () => number;
        randomSecret?: (bytes: number) => string;
        run?: (
            command: string,
            args: readonly string[],
            cwd: string,
        ) => Promise<CommandResult>;
        wait?: (milliseconds: number) => Promise<void>;
    }
    Index

    Properties

    fetchFn?: {
        (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
        (input: string | URL | Request, init?: RequestInit): Promise<Response>;
    }

    Type Declaration

      • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
      • Parameters

        • input: URL | RequestInfo
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | URL | Request, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | URL | Request
        • Optionalinit: RequestInit

        Returns Promise<Response>

    now?: () => number
    randomSecret?: (bytes: number) => string
    run?: (
        command: string,
        args: readonly string[],
        cwd: string,
    ) => Promise<CommandResult>
    wait?: (milliseconds: number) => Promise<void>