Add MariaDB queue table. Fix Bugs
This commit is contained in:
Vendored
+12
@@ -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 {};
|
||||
Reference in New Issue
Block a user