Sha256: fbc611469aca01245fe61695b734b9d4c4260a629c1e35e3fa889bf55178adc0

Contents?: true

Size: 804 Bytes

Versions: 4

Compression:

Stored size: 804 Bytes

Contents

module BBK
  module App
    class Dispatcher
      interface _Message
        def headers: () -> Hash[String|Symbol, untyped]
        def payload: () -> Hash[untyped, untyped]?
      end

      interface _Mapping
        def []: (untyped) -> untyped
        def []=: (untyped, untyped) -> untyped
      end

      interface _IncomingMessage
        include _Message
        def delivery_info: () -> untyped
        def body: () -> String

        def ack: (*untyped, ?answer: _Result?, **untyped) -> void
        def nack: (*untyped, ?error: untyped, **untyped) -> void
        def message_id: () -> String
      end


      class Message
        include _IncomingMessage

        def initialize: (_Consumer, untyped?, Hash[String|Symbol, untyped], untyped, *untyped) -> void

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bbk-app-1.1.1.273627 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.1.1.273338 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.1.1.273312 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.1.1.273294 sig/bbk/app/dispatcher/message.rbs