* Gets all referenced async entrypoints. * @returns {Entrypoints} a set of all the referenced entrypoints
()
| 737 | * @returns {Entrypoints} a set of all the referenced entrypoints |
| 738 | */ |
| 739 | getAllReferencedAsyncEntrypoints() { |
| 740 | /** @type {Queue} */ |
| 741 | const queue = new Set(this.groupsIterable); |
| 742 | /** @type {Entrypoints} */ |
| 743 | const entrypoints = new Set(); |
| 744 | |
| 745 | for (const chunkGroup of queue) { |
| 746 | for (const entrypoint of chunkGroup.asyncEntrypointsIterable) { |
| 747 | entrypoints.add(/** @type {Entrypoint} */ (entrypoint)); |
| 748 | } |
| 749 | for (const child of chunkGroup.childrenIterable) { |
| 750 | queue.add(child); |
| 751 | } |
| 752 | } |
| 753 | |
| 754 | return entrypoints; |
| 755 | } |
| 756 | |
| 757 | /** |
| 758 | * Checks whether this chunk has async chunks. |
no test coverage detected