Factory class for querying all suppliers.
Value to query for
Maximum number of results for each supplier
Fetch controller (can be used to terminate the query)
Array of suppliers to query (empty is the same as querying all)
Static
supplierGet the list of available supplier module names. Use these names when specifying which suppliers to query in the constructor.
Array of supplier class names that can be queried
Executes the execute() method on all selected suppliers in parallel using async-await-queue. Results are collected and flattened into a single array.
Maximum number of suppliers to process in parallel (default: 3)
Promise resolving to an array of all products from all suppliers
Streams products from all selected suppliers as soon as each supplier's execute() resolves. Uses async-await-queue for concurrency control and yields products as they are available.
Maximum number of suppliers to process in parallel (default: 3)
AsyncGenerator yielding products from all suppliers as soon as they are ready
Factory class for querying multiple chemical suppliers simultaneously. This class provides a unified interface to search across multiple supplier implementations.
Example