Beignet API reference
    Preparing search index...

    Type Alias JobHook<J, Ctx>

    JobHook: {
        bivarianceHack(
            args: JobHookArgs<J, Ctx>,
            next: () => Promise<void>,
        ): MaybePromise<void>;
    }["bivarianceHack"]

    Hook that wraps one job handler attempt.

    Hooks run only through Beignet dispatchers and worker helpers. Direct calls to job.handle(...) bypass hooks, which keeps lightweight unit tests possible.

    Type Parameters