@Override
    public int getNumberOfActiveTasks() {
        return (int) scraperTaskMap.entries().stream().filter(entry -> !entry.getValue().isDone()).count();
    }
transforms the results from a {@link PlcReadResponse} into a map
@param plcReadResponse response that shall be converted to map for further processing
@return the converted map
plc4j/tools/scraper/src/main/java/org/apache/plc4x/java/scraper/triggeredscraper/TriggeredScraperImpl.java