src/Keboola/Writer/GoodData/Client.php
public function createWriter($writerId, $params = [])
    {
        $job = $this->createWriterAsync($writerId, $params);
        if (!isset($job['url'])) {
            throw new ServerException('Create writer job returned unexpected result: ' . json_encode($job, JSON_PRETTY_PRINT));
        }

        return $this->waitForJob($job['url']);
    }
public function createWriter($writerId, $params = [])
    {
        $job = $this->createWriterAsync($writerId, $params);
        if (!isset($job['url'])) {
            throw new ServerException('Create writer job returned unexpected result: ' . json_encode($job, JSON_PRETTY_PRINT));
        }

        return $this->waitForJob($job['url']);
    }
public function createWriter ( $ writerId , $ params = [ ] ) { $ job = $ this -> createWriterAsync ( $ writerId , $ params ) ; if ( ! isset ( $ job [ 'url' ] ) ) { throw new ServerException ( 'Create writer job returned unexpected result: ' . json_encode ( $ job , JSON_PRETTY_PRINT ) ) ; } return $ this -> waitForJob ( $ job [ 'url' ] ) ; }
Create writer and wait for finish
@param $writerId
@param array $params
Create writer and wait for finish