* Registers an async entrypoint that is rooted in this chunk group. * @param {Entrypoint} entrypoint entrypoint to add * @returns {boolean} returns true if entrypoint was added
(entrypoint)
| 398 | * @returns {boolean} returns true if entrypoint was added |
| 399 | */ |
| 400 | addAsyncEntrypoint(entrypoint) { |
| 401 | const size = this._asyncEntrypoints.size; |
| 402 | this._asyncEntrypoints.add(entrypoint); |
| 403 | return size !== this._asyncEntrypoints.size; |
| 404 | } |
| 405 | |
| 406 | get asyncEntrypointsIterable() { |
| 407 | return this._asyncEntrypoints; |