/** * @returnarray<string|int, mixed> * * This method is used to get the outputs of the green threads. */publicstaticfunctiongetOutputs():array;/** * @paramstring|int $name * @returnmixed * * This method is used to get the output of a green thread. */publicstaticfunctiongetOutput(string|int $name):mixed;
This is the static method that will return the results that those threads get when they complete.