kinetex - v1.0.0-rc.1
    Preparing search index...

    Interface HookContext

    Context available to all lifecycle hooks.

    interface HookContext {
        request: KinetexRequest;
        response: KinetexResponse<unknown> | null;
        error: unknown;
        startedAt: number;
        attempt: number;
        meta: Record<string, unknown>;
    }
    Index

    Properties

    The request being processed.

    response: KinetexResponse<unknown> | null

    The response received (null before dispatch or on error).

    error: unknown

    The error that occurred (null on success).

    startedAt: number

    Monotonic start time in ms.

    attempt: number

    Current attempt number (1 = first try).

    meta: Record<string, unknown>

    Arbitrary hook-scoped metadata.