Sha256: 536c4ef6860bc47ab62b65c437d3eb7a27ec04f1f638bec8d8ac9798dec10b86

Contents?: true

Size: 919 Bytes

Versions: 11

Compression:

Stored size: 919 Bytes

Contents

module PgEventstore
  module Commands
    class Append < PgEventstore::AbstractCommand
      # _@param_ `stream`
      #
      # _@param_ `events`
      #
      # _@param_ `options`
      #
      # _@param_ `event_modifier`
      #
      # _@return_ — persisted events
      def call: (
          PgEventstore::Stream stream,
          *PgEventstore::Event events,
          ?options: ::Hash[untyped, untyped],
          ?event_modifier: _EventModifier
        ) -> ::Array[PgEventstore::Event]

      # _@param_ `stream`
      #
      # _@param_ `events`
      def create_partitions: (PgEventstore::Stream stream, ::Array[PgEventstore::Event] events) -> void

      # _@param_ `revision`
      #
      # _@param_ `expected_revision`
      #
      # _@param_ `stream`
      def assert_expected_revision!: (Integer revision, (Symbol | Integer) expected_revision, PgEventstore::Stream stream) -> void
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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