Files
bun-mariadb/dist/lib/queue/queue-cancel.d.ts
T

13 lines
467 B
TypeScript

import type { BunMariaDBConfig, DBResponseObject } from "../../types";
type Params<Table extends string = string> = {
table: Table;
id: number | string;
config?: BunMariaDBConfig;
};
/**
* Take a `pending` job out of the queue without deleting it. Jobs a worker
* has already claimed can't be cancelled.
*/
export default function QueueCancel<Table extends string = string>({ table, id, config, }: Params<Table>): Promise<DBResponseObject>;
export {};