class RubyLsp::Notification

def progress_begin(id, title, percentage: nil, message: nil)

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