Add MariaDB queue table. Fix Bugs

This commit is contained in:
2026-10-18 15:58:02 +01:00
parent d872c3661a
commit f9ba5f8657
28 changed files with 785 additions and 49 deletions
+12
View File
@@ -0,0 +1,12 @@
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 {};