Utils::CancelToken
# File typeprof-0.21.1/lib/typeprof/lsp.rb, line 50 def initialize @timer = Utils::TimerCancelToken.new(1) @cancelled = false end
# File typeprof-0.21.1/lib/typeprof/lsp.rb, line 55 def cancel @cancelled = true end
# File typeprof-0.21.1/lib/typeprof/lsp.rb, line 59 def cancelled? @timer.cancelled? || @cancelled end
This page was generated for Ruby 3.1.0
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.