Sha256: 0f04075f004bf94e19dc9fd3a5d4e1470d3ddce98f6e419e9cd210d15737a255

Contents?: true

Size: 803 Bytes

Versions: 18

Compression:

Stored size: 803 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

18 entries across 18 versions & 1 rubygems

Version Path
bbk-app-1.1.0.219406 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.1.0.216998 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.1.0.204569 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.1.0.200751 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.1.0.200186 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.1.0.199675 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.1.0.199604 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.1.0.199389 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.1.0.199383 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.0.0.152254 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.0.0.141716 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.0.0.80957 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.0.0.79514 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.0.0.79241 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.0.0.78020 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.0.0.72920 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.0.0.72917 sig/bbk/app/dispatcher/message.rbs
bbk-app-1.0.0.72899 sig/bbk/app/dispatcher/message.rbs