This repository has been archived on 2018-04-01. You can view files and clone it, but cannot push or open issues or pull requests.
php-asio/stubs/Future.php

27 lines
582 B
PHP

<?php
/**
* php-asio/stubs/Future.php
*
* This file is a stub of php-asio, which is implemented in extension asio.so.
* For source code of asio.so, see src/ directory.
*
* @author CismonX<admin@cismon.net>
*/
namespace Asio;
/**
* Class Future
*
* When an asynchronous operation completes, its Future will be resolved,
* resuming the corresponding coroutine (if Future was yielded by a Generator).
*
* @package Asio
*/
final class Future
{
/**
* This class can only be instantiated by asynchronous operations.
*/
private function __construct() {}
}