Interface

ProducerMessage

utils.ProducerMessage

Message structure sent to the producer child process.

Properties:
Name Type Attributes Description
identifier number

The identifier of the producer.

result Array.<string> <optional>

Optional result logs.

args Array.<unknown> <optional>

Optional arguments.

action string

The action to perform.

timeout number <optional>

Optional timeout.

times number

Number of times to repeat.

random boolean <optional>

Whether to use random timeouts.

View Source tests/Consumer.ts, line 450