├── .gitignore ├── .php_cs ├── LICENSE ├── composer.json ├── examples ├── concurrent-array-map.php ├── delayed.php ├── exception.php ├── nested-wrap.php ├── nested.php └── simultaneous-async.php ├── psalm.xml ├── src ├── Internal │ ├── Future.php │ └── Scheduler.php └── functions.php └── stubs ├── Fiber.php ├── FiberError.php ├── Future.php └── Scheduler.php /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | composer.lock 3 | coverage 4 | vendor 5 | .php_cs.cache 6 | -------------------------------------------------------------------------------- /.php_cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/.php_cs -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/LICENSE -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/composer.json -------------------------------------------------------------------------------- /examples/concurrent-array-map.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/examples/concurrent-array-map.php -------------------------------------------------------------------------------- /examples/delayed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/examples/delayed.php -------------------------------------------------------------------------------- /examples/exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/examples/exception.php -------------------------------------------------------------------------------- /examples/nested-wrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/examples/nested-wrap.php -------------------------------------------------------------------------------- /examples/nested.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/examples/nested.php -------------------------------------------------------------------------------- /examples/simultaneous-async.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/examples/simultaneous-async.php -------------------------------------------------------------------------------- /psalm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/psalm.xml -------------------------------------------------------------------------------- /src/Internal/Future.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/src/Internal/Future.php -------------------------------------------------------------------------------- /src/Internal/Scheduler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/src/Internal/Scheduler.php -------------------------------------------------------------------------------- /src/functions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/src/functions.php -------------------------------------------------------------------------------- /stubs/Fiber.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/stubs/Fiber.php -------------------------------------------------------------------------------- /stubs/FiberError.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/stubs/FiberError.php -------------------------------------------------------------------------------- /stubs/Future.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/stubs/Future.php -------------------------------------------------------------------------------- /stubs/Scheduler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amphp/green-thread/HEAD/stubs/Scheduler.php --------------------------------------------------------------------------------