<?php


namespace Swoole\Coroutine;


class Scheduler
{
    function add(callable $call,... $args):void
    {

    }

    /*
     * ['max_coroutine' => 100]
     */
    function set(array $options):void
    {

    }

    function parallel(int $n, callable $call, ... $args)
    {

    }

    function start():bool
    {

    }
}