Skip to content

Commit 4467540

Browse files
committed
Add use cases to README
1 parent 8b9d43c commit 4467540

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ Utilize Laravel Processes to run PHP code asynchronously.
1313
- Restrictions from `laravel/serializable-closure` apply (see [their README](https://github.com/laravel/serializable-closure))
1414
- Hands-off execution: no built-in result-checking, check the results yourself (e.g. via database, file cache, etc)
1515

16+
## Why should I want this?
17+
This library is very helpful for these cases:
18+
- You want to check the results later at your leisure
19+
- Or simply don't care about the results at all, just like [UDP](https://en.wikipedia.org/wiki/User_Datagram_Protocol)! It's up to you.
20+
- You want to start quick-and-dirty tasks right now (e.g. prefetching resources)
21+
- You want a minimal-setup async that auto-scales alongside your machine
22+
23+
Of course, if you are considering extreme scaling (e.g. Redis queues in Laravel, multi-worker clusters, etc.) or guaranteed task execution, then this library is obviously not for you.
24+
1625
## Installation
1726
via Composer:
1827

0 commit comments

Comments
 (0)