Replies: 1 comment
-
use array map: Fork::new()->run(...array_map(…)) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Fork::new()->run( foreach ($users as $user) { Log::info($user->first_name); fn() => $user->listen(); } );
Is there any way i can implement something like this using for loop? (returned data is not important)
Beta Was this translation helpful? Give feedback.
All reactions