-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Hello,
In Laravel Octane when using Swoole its possible to do something like the following.
[ $recs1, $recs2 ] = Octane::concurrently( [
fn() => $this->get_recs_a( $ids ),
fn() => $this->get_recs_b( $ids )
] );
What this will do is execute both functions get_recs_a and get_recs_b concurrently yet not returning unless both got executed and set their return values to $recs1 and $recs2.
How to achieve similar behavior?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested