src/Watchers/JobWatcher.php
public function recordProcessedJob(JobProcessed $event)
    {
        if (! Telescope::isRecording()) {
            return;
        }

        $uuid = $event->job->payload()['telescope_uuid'] ?? null;

        if (! $uuid) {
            return;
        }

        Telescope::recordUpdate(EntryUpdate::make(
            $uuid, EntryType::JOB, ['status' => 'processed']
        ));
    }
public function recordProcessedJob(JobProcessed $event)
    {
        if (! Telescope::isRecording()) {
            return;
        }

        $uuid = $event->job->payload()['telescope_uuid'] ?? null;

        if (! $uuid) {
            return;
        }

        Telescope::recordUpdate(EntryUpdate::make(
            $uuid, EntryType::JOB, ['status' => 'processed']
        ));
    }
public function recordProcessedJob ( JobProcessed $ event ) { if ( ! Telescope :: isRecording ( ) ) { return ; } $ uuid = $ event -> job -> payload ( ) [ 'telescope_uuid' ] ?? null ; if ( ! $ uuid ) { return ; } Telescope :: recordUpdate ( EntryUpdate :: make ( $ uuid , EntryType :: JOB , [ 'status' => 'processed' ] ) ) ; }
Record a queued job was processed.

@param  \Illuminate\Queue\Events\JobProcessed  $event
@return void
Record a queued job was processed .