Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

afterCommit on Queueable Anonymous Event Listeners #2665

Open
vaawebdev opened this issue Jul 13, 2021 · 0 comments
Open

afterCommit on Queueable Anonymous Event Listeners #2665

vaawebdev opened this issue Jul 13, 2021 · 0 comments

Comments

@vaawebdev
Copy link

vaawebdev commented Jul 13, 2021

While Event Handlers support afterCommit option https://laravel.com/docs/8.x/events#queuable-anonymous-event-listeners, Anonymous Event Listeners https://laravel.com/docs/8.x/events#queuable-anonymous-event-listeners do not. Please add some way to configure that option like following for example:

Event::listen(queueable(function (PodcastProcessed $event) {
    //
})->afterCommit());
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant