Genserver.Utils.PWorker protocol (etl_core v0.1.41)
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
Link to this section Summary
Functions
Sends to process the batch of messages, according to the business from which it comes
Link to this section Types
@type t() :: term()
Link to this section 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
Parameters:
- batch: List of map. Payloads.
- batch_id: String. Batch identifier.
- conn_odbc_pid: Process. Process connecting Elixir and ODBC.
- business: Atom. Business type.