sig/steep/server/interaction_worker.rbs in steep-1.6.0 vs sig/steep/server/interaction_worker.rbs in steep-1.7.0.dev.1

- old
+ new

@@ -56,12 +56,22 @@ @last_signature_help_result: LanguageServer::Protocol::Interface::SignatureHelp attr_reader service: Services::TypeCheckService + attr_reader mutex: Mutex + def initialize: (project: Project, reader: Reader, writer: Writer, ?queue: Queue) -> void def handle_job: (job) -> void + + @last_job_mutex: Mutex + + @last_job: job? + + def process_latest_job: [T] (job) { () -> T } -> T? + + def queue_job: (job) -> void type lsp_request = { id: String, method: String, params: untyped } def handle_request: (lsp_request) -> void