@ckirg/corelib - v0.4.1
    Preparing search index...

    Variable CoreConst

    Core: {
        getVersion: () => string;
        isFfiAvailable: () => boolean;
        logAndDouble: (msg: string, value: number) => number;
        run: (task?: string, options?: Record<string, unknown>) => void;
    } = ...

    Core section containing FFI and basic runtime information.

    Type Declaration

    • getVersion: () => string

      Gets the native library version.

    • isFfiAvailable: () => boolean

      Checks if FFI is available.

    • logAndDouble: (msg: string, value: number) => number

      Calls the native log and double function.

    • run: (task?: string, options?: Record<string, unknown>) => void

      Runs a core task or simply logs the current runtime status.