public function createThreads($definitions, $flags = Runtime::CREATE_DEFAULT, $params = []) { return Promise::doReject(new RejectionException("Threads could not be created.")); }