class RubyLsp::Notification

def progress_report(id, percentage: nil, message: nil)

: (String id, ?percentage: Integer?, ?message: String?) -> Notification
def progress_report(id, percentage: nil, message: nil)
  new(
    method: "$/progress",
    params: Interface::ProgressParams.new(
      token: id,
      value: Interface::WorkDoneProgressReport.new(
        kind: "report",
        percentage: percentage,
        message: message,
      ),
    ),
  )
end