Skip to main content

Module executor

Module executor 

Source
Expand description

Sending one batch of a worker flow: fresh request ids, the limiter, the call, the gate record, and pairing each row with its answer and audit.

StructsΒ§

SentItem πŸ”’
What the audit needs of one item after the items themselves went into the request.

FunctionsΒ§

requests_json πŸ”’
The request bodies as sent, kept alongside the typed items so a rejected batch can pair each row with what was actually asked of it for the audit log.
response_item_json πŸ”’
The response item for one request item, read from the raw body rather than rebuilt from the typed value, so the audit trail holds what actually arrived.
send_batch πŸ”’
Sends entries in one request to E, every item under a fresh requestItemId, a resent half’s included.