Constructor
# new ConsumerRunner(action, consumerHandler, compareHandleropt)
Orchestrates the execution of consumer and producer processes, collects logs, and compares results.
Runs a consumer process and manages producer child processes.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
action |
string
|
The action name. |
|
consumerHandler |
ConsumerHandler
|
The handler function for the consumer. |
|
compareHandler |
Comparer
|
<optional> |
Optional custom comparer function. |