Sha256: 1f487307ec9a6016798da901f9bf76e1bf177b084d115b5be6740673fd3bb93c

Contents?: true

Size: 694 Bytes

Versions: 12

Compression:

Stored size: 694 Bytes

Contents

module PgEventstore
  class LinksResolver
    # _@param_ `connection`
    def initialize: (PgEventstore::Connection connection) -> void

    # _@param_ `raw_events`
    def resolve: (::Array[::Hash[untyped, untyped]] raw_events) -> ::Array[::Hash[untyped, untyped]]

    # _@param_ `link_events` — partition id to link events association
    #
    # _@return_ — original events
    def load_original_events: (::Hash[Integer, ::Array[::Hash[untyped, untyped]]] link_events) -> ::Array[::Hash[untyped, untyped]]

    def partition_queries: () -> PgEventstore::PartitionQueries

    # Returns the value of attribute connection.
    attr_accessor connection: PgEventstore::Connection
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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