Tags: ylsideas/subscribable-notifications
Tags
L11 compatibility (#54) * Bump dependencies for Laravel 11 * Update GitHub Actions for Laravel 11 * Update for Laravel 11 * Fix styling * Install Pest 2 only * drop windows * Fix composer.json --------- Co-authored-by: Shift <shift@laravelshift.com> Co-authored-by: peterfox <peterfox@users.noreply.github.com>
fix: callback handlers for queue workers (#43) When using a queue worker, each notification resets the scope. The problem here is that when this happens, all of the callbacks that were registered are no longer available - this is because they were all registered to a scoped singleton. I'm not sure how anyone else is able to use this package with a queue worker - out of the box it only works on "sync" mode, unless we remove the scoped singleton. In-fact, I'm curious as to why the singleton was scoped in the first place as part of the laravel 9 compatibility upgrades?
PreviousNext