Extensions for Node Workhorse to persist data in MySQL. Version 1.0.1 enables storing workhorse job queues and state in a MySQL database. Provides integration patterns for MySQL with the workhorse task queue system. TypeScript definitions included. Suitable for projects already using Node Workhorse and seeking durable storage backend.
npm install node-workhorse-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a MysqlBackend and sets up a Workhorse instance for queuing jobs.
Provide an object with host, user, password, database keys.
Ensure you close the backend when shutting down your application.
Use async/await or .then() instead of callbacks.
Run `npm install node-workhorse-mysql` and ensure import path is correct.
Use `import { MysqlBackend } from 'node-workhorse-mysql'`.