You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: document.rb
    path of file: ./repos/ruby-lsp/lib/ruby_lsp
    
    the code of the file until where you have to start completion: # typed: strict
# frozen_string_literal: true

module RubyLsp
  class Document
    
    def cache_fetch(request_name, &block)
      cached = @cache[request_name]
      return cached if cached

      result = block.call(self)
      @cache[request_name] = result
      result
    end