Skip to content

Instantly share code, notes, and snippets.

View AkioSarkiz's full-sized avatar
👋
Hi there!

Dmytro Laptiev AkioSarkiz

👋
Hi there!
View GitHub Profile
@AkioSarkiz
AkioSarkiz / concurrent-pool.php
Created October 18, 2021 06:06 — forked from fgilio/concurrent-pool.php
Laravel HTTP client concurrent requests pool
<?php
// 1. Register the routes
Route::get('test/{lorem}', function ($lorem) {
sleep(3);
return response()->json([
'message' => $lorem,
'token' => Str::random(),
]);