Genserver.Utils.PWorker protocol (etl_core v0.1.55)

Protocol oriented to the definition of the function that the message lot will take, processed it if necessary and sent it to the corresponding module, for processing

Summary

Functions

Sends to process the batch of messages, according to the business from which it comes

Types

@type t() :: term()

Functions

Link to this function

perform(batch, batch_id, pid, business)

Sends to process the batch of messages, according to the business from which it comes

Parameters:

- batch: List of map. Payloads.

- batch_id: String. Batch identifier.

- conn_odbc_pid: Process. Process connecting Elixir and ODBC.

- business: Atom. Business type.