#!/usr/bin/env php create(); $worker->start(); $result = yield $worker->enqueue(new BlockingTask('file_get_contents', 'https://google.com')); printf("Read %d bytes\n", strlen($result)); $code = yield $worker->shutdown(); printf("Code: %d\n", $code); });