code: public function didCreate($resource): void
      {
          if ($this->wasClientDispatched()) {
              $this->clientJob->setResource($resource)->save();
          }
      }
docs: Set the resource that was created by the job.
  
  If a job is creating a new resource, this method can be used to update
  the client job with the created resource. This method does nothing if the
  job was not dispatched by a client.
  
  @param $resource
  @return void