src/Renderer.php
public function addJob($id, $job)
    {
        if (is_array($job)) {
            $job = Job::fromArray($job);
        }
        $this->incomingJobs[$id] = $job;
    }
public function addJob($id, $job)
    {
        if (is_array($job)) {
            $job = Job::fromArray($job);
        }
        $this->incomingJobs[$id] = $job;
    }
public function addJob ( $ id , $ job ) { if ( is_array ( $ job ) ) { $ job = Job :: fromArray ( $ job ) ; } $ this -> incomingJobs [ $ id ] = $ job ; }
Add a job

@param string $id
@param \WF\Hypernova\Job|array $job Job to add, { [view]: { name: String, data: ReactProps } }
Add a job