Sha256: a998902d6dfd291864f9b65ea197890611d013790d38b03c5c52bb25be7b4ea3

Contents?: true

Size: 888 Bytes

Versions: 11

Compression:

Stored size: 888 Bytes

Contents

module PgEventstore
  class Stream
    SYSTEM_STREAM_PREFIX: String
    NON_EXISTING_STREAM_REVISION: Integer

    def self.all_stream: () -> PgEventstore::Stream

    # _@param_ `context`
    #
    # _@param_ `stream_name`
    #
    # _@param_ `stream_id`
    def initialize: (context: String, stream_name: String, stream_id: String) -> void

    def all_stream?: () -> bool

    def system?: () -> bool

    def deconstruct: () -> ::Array[untyped]

    # _@param_ `keys`
    def deconstruct_keys: (::Array[Symbol]? keys) -> ::Hash[Symbol, String]

    def to_hash: () -> ::Hash[untyped, untyped]

    def hash: () -> Integer

    # _@param_ `another`
    def eql?: (untyped another) -> bool

    # _@param_ `other_stream`
    def ==: (untyped other_stream) -> bool

    attr_accessor context: String

    attr_accessor stream_name: String

    attr_accessor stream_id: String
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pg_eventstore-1.6.0 sig/pg_eventstore/stream.rbs
pg_eventstore-1.5.0 sig/pg_eventstore/stream.rbs
pg_eventstore-1.4.0 sig/pg_eventstore/stream.rbs
pg_eventstore-1.3.4 sig/pg_eventstore/stream.rbs
pg_eventstore-1.3.3 sig/pg_eventstore/stream.rbs
pg_eventstore-1.3.2 sig/pg_eventstore/stream.rbs
pg_eventstore-1.3.1 sig/pg_eventstore/stream.rbs
pg_eventstore-1.3.0 sig/pg_eventstore/stream.rbs
pg_eventstore-1.2.0 sig/pg_eventstore/stream.rbs
pg_eventstore-1.1.5 sig/pg_eventstore/stream.rbs
pg_eventstore-1.1.4 sig/pg_eventstore/stream.rbs