UNPKG

@convex-dev/workpool

Version:

A Convex component for managing async work.

9 lines 501 B
import { type MutationCtx } from "./_generated/server.js"; import { type Config } from "./shared.js"; /** * Called from outside the loop. * Returns the soonest segment to enqueue work for the main loop. */ export declare function kickMainLoop(ctx: MutationCtx, source: "enqueue" | "cancel" | "complete" | "kick", config?: Partial<Config>): Promise<bigint>; export declare const forceKick: import("convex/server").RegisteredMutation<"internal", {}, Promise<void>>; //# sourceMappingURL=kick.d.ts.map