Laravel 中的可队列化操作
您可以选择使用以下命令发布配置文件:bash php artisan vendor:publish --provider="Spatie\QueueableAction\QueueableActionServiceProvider" --tag="config" 发布的配置文件内容如下:php return [ /* * The job class that will be dispatched. * If you would like to change it and use your own job class, * it must extends the \Spatie\QueueableAction\ActionJob class. */ 'job_class' => \Spatie\QueueableAction\ActionJob::class, ]; ## 使用方法 如果您想了解动作及其异步使用的背后的逻辑,请阅读专门的博客文章:https://stitcher.io/blog/laravel-queueable-actions。您可以使用以下 Artisan 命令即时生成可队列化和同步的动作类。```
php artisan make:action MyAction [--sync]
[](https://spatie.be/github-ad-click/laravel-queueable-action)暂无开放 Issues,或尚未同步最近议题。