struct NATS::JetStream::StreamSourceInfo
- NATS::JetStream::StreamSourceInfo
- NATS::JetStream::Entity
- Struct
- Value
- Object
Defined in:
jetstream/stream_source_info.crConstructors
- .new(pull : JSON::PullParser)
- .new(name : String, external : NATS::JetStream::ExternalStream | Nil = nil, lag : Time::Span = 0.seconds, active : Time::Span = 0.seconds, error : NATS::JetStream::APIError | Nil = nil)
Instance Method Summary
- #active : Time::Span
- #error : APIError | Nil
- #external : ExternalStream | Nil
- #lag : Time::Span
- #name : String
Constructor methods inherited from struct NATS::JetStream::Entity
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(name : String, external : NATS::JetStream::ExternalStream | Nil = nil, lag : Time::Span = 0.seconds, active : Time::Span = 0.seconds, error : NATS::JetStream::APIError | Nil = nil)
#