MCPcopy Create free account
hub / github.com/ampproject/amphtml / useRequestIdleCallback_

Method useRequestIdleCallback_

src/chunk.js:267–272  ·  view source on GitHub ↗

@override

()

Source from the content-addressed store, hash-verified

265
266 /** @override */
267 useRequestIdleCallback_() {
268 // We only start using requestIdleCallback when the core runtime has
269 // been initialized. Otherwise we risk starving ourselves
270 // before the render-critical work is done.
271 return this.chunks_.coreReady_;
272 }
273
274 /**
275 * @return {boolean}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected