Sha256: 11845b21a29aae1a0ea08aa3f6cff58c5fedb6ce14956228fa8ee20e9bf6c314

Contents?: true

Size: 501 Bytes

Versions: 2

Compression:

Stored size: 501 Bytes

Contents

module NATS
  class JetStream
    extend Manager
    extend KeyValue::Manager

    class PubAck < Struct[String | Numeric | bool]
    end

    def publish: (String, String, Hash[Symbol, untyped]) -> NATS::JetStream::PubAck

    def subscribe: (String, Hash[Symbol, untyped]) { (?(NATS::Msg | String), ?String, ?String, ?Hash[Symbol, untyped]) -> void } -> NATS::JetStream::PushSubscription

    def pull_subscribe: (String, String, Hash[Symbol, untyped]) -> NATS::JetStream::PullSubscription
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nats-pure-2.4.0 sig/nats/io/jetstream.rbs
nats-pure-2.3.0 sig/nats/io/jetstream.rbs