Statistics about discovered Temporal components. Provides insight into the number of workflows, activities, and other components found.
const stats = discoveryService.getStats();console.log(`Found ${stats.workflows} workflows and ${stats.signals} signals`); Copy
const stats = discoveryService.getStats();console.log(`Found ${stats.workflows} workflows and ${stats.signals} signals`);
Statistics about discovered Temporal components. Provides insight into the number of workflows, activities, and other components found.
Example: Usage