Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
module EventSource
  module Postgres
    module Controls
      module Put
        def self.call(instances: nil, stream_name: nil, event: nil, category: nil, partition: nil)
          instances ||= 1
          stream_name ||= StreamName.example(category: category)
          event ||= EventData::Write.example
          partition ||= Postgres::Partition::Defaults.name

          instances.times do
            EventSource::Postgres::Put.(event, stream_name, partition: partition)
          end

          stream_name
        end
      end
    end
  end
end