gemini/waiter

A library which waiting for coroutine to end for Hyperf.

v2.0.0 2020-12-13 01:58 UTC

This package is auto-updated.

Last update: 2024-10-28 17:04:05 UTC


README

composer require gemini/waiter

How to use

<?php

$result = wait(function(){
    // Do something...
    return 'Hello World';
});

echo $result; // Hello World