Wednesday, July 15, 2026 4:59:06 AM
> client.rb
# frozen_string_literal: true

module ESM
  module Arma
    class Client
      # Registers a pending promise in the ledger for the given id WITHOUT sending
      # anything over the socket. Specs use this to wait on a response they trigger
      # directly via execute_sqf! (rather than by sending a real request).
      def register_response(id)
        @ledger.add(Request.new(id:, type: :message, content: nil))
      end
    end
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7