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

Method constructor

src/chunk.js:170–176  ·  view source on GitHub ↗

* @param {function(?IdleDeadline)} fn

(fn)

Source from the content-addressed store, hash-verified

168 * @param {function(?IdleDeadline)} fn
169 */
170 constructor(fn) {
171 /** @public {TaskState_Enum} */
172 this.state = TaskState_Enum.NOT_RUN;
173
174 /** @private @const {!function(?IdleDeadline)} */
175 this.fn_ = fn;
176 }
177
178 /**
179 * Executes the wrapped function.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected