Class: Deimos::Backends::Db

Inherits:
Base
  • Object
show all
Defined in:
sig/defs.rbs

Overview

Backend which saves messages to the database instead of immediately sending them.

Class Method Summary collapse

Methods inherited from Base

publish

Class Method Details

.executevoid

This method returns an undefined value.

:nodoc:

Parameters:



243
# File 'sig/defs.rbs', line 243

def self.execute: (producer_class: singleton(Deimos::Producer), messages: ::Array[Deimos::Message]) -> void

.partition_key_forString

@param message

@return — the partition key to use for this message

Parameters:

Returns:

  • (String)


248
# File 'sig/defs.rbs', line 248

def self.partition_key_for: (Deimos::Message message) -> String