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-09-28 16:46:42 UTC


README

composer require gemini/waiter

How to use

<?php

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

echo $result; // Hello World