Lines Matching full:event
18 // The minimum duration of an event for it to be reported
36 // Start event
38 // Wait a bit before reporting the start event in case in completes really
45 // End event
47 // We should report the end event right away.
52 // Update event
72 // If it's an update without a previous event, we abort
75 ProgressEvent event(progress_id, message, completed, total, prev_event);
77 if (event.GetEventType() == progressStart && event.GetEventName().empty())
80 if (prev_event && prev_event->EqualsForIDE(event))
83 return event;
107 llvm::json::Object event(CreateEventObject(GetEventName()));
129 event.try_emplace("body", std::move(body));
130 return json::Value(std::move(event));
154 // The event finished before we were able to report it.
172 if (std::optional<ProgressEvent> event = ProgressEvent::Create(
174 if (event->GetEventType() == progressEnd)
177 m_last_update_event = *event;
214 break; // If we couldn't report it, then the next event in the queue won't
225 if (std::optional<ProgressEvent> event = ProgressEvent::Create(
228 std::make_shared<ProgressEventManager>(*event, m_report_callback);