Using a specific client for addGraphileJobs library function.
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 126
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 9
Description
### Summary
Hi, just wondering if there is a way to add a job using a pre-existing client using the js library rather than the sql interface? I want to add jobs inside my own transactions. I've resorted to making my own addGraphileJob and addGraphileJobs that are otherwise the same as the originals, but the first arg is a pg PoolClient, which is used to make the query. I feel like I must be missing something because transactional job queuing is a huge benefit of using a postgres job queue.
Thanks.
### Additional context
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.