Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: enable create multiple pools of executors #4

Merged
merged 5 commits into from
Jul 29, 2024
Merged

Conversation

komtcho
Copy link
Collaborator

@komtcho komtcho commented Jul 27, 2024

Enable create executors in packages.

You can add to boot at any Service Provider

use Pharaonic\Laravel\Executor\Facades\ExecutorPool;

ExecutorPool::addPath(base_path('executors'));
// OR
ExecutorPool::addPath(__DIR__ . '/executors');

@MoamenEltouny
Copy link
Member

@komtcho Thank you so much

@MoamenEltouny MoamenEltouny merged commit 9eb72f4 into main Jul 29, 2024
6 checks passed
@Moemen-Gaballah
Copy link
Contributor

@komtcho
Thank you so much
// OR ExecutorPool::addPath(__DIR__ . '/../../executors');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants