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: 2021-08-28 10:12:30 UTC


README

composer require gemini/waiter

How to use

<?php

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

echo $result; // Hello World