Sha256: ccd6ffecfa3427e298aa879209a28e6ece8bdf6b16c453002783fdb1232758e1

Contents?: true

Size: 1.28 KB

Versions: 3

Compression:

Stored size: 1.28 KB

Contents

class DAP::ProgressStartEventBody < DAP::Base
  # An ID that must be used in subsequent 'progressUpdate' and 'progressEnd' events to make them refer to the same progress reporting.
  # IDs must be unique within a debug session.
  property :progressId

  # Mandatory (short) title of the progress reporting. Shown in the UI to describe the long running operation.
  property :title

  # The request ID that this progress report is related to. If specified a debug adapter is expected to emit
  # progress events for the long running request until the request has been either completed or cancelled.
  # If the request ID is omitted, the progress report is assumed to be related to some general activity of the debug adapter.
  property :requestId, required: false

  # If true, the request that reports progress may be canceled with a 'cancel' request.
  # So this property basically controls whether the client should use UX that supports cancellation.
  # Clients that don't support cancellation are allowed to ignore the setting.
  property :cancellable, required: false

  # Optional, more detailed progress message.
  property :message, required: false

  # Optional progress percentage to display (value range: 0 to 100). If omitted no percentage will be shown.
  property :percentage, required: false
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-dap-0.1.2 lib/dap/progress_start_event_body.rb
ruby-dap-0.1.1 lib/dap/progress_start_event_body.rb
ruby-dap-0.1.0 lib/dap/progress_start_event_body.rb