MCPcopy Create free account
hub / github.com/aurelia/framework / preTask

Method preTask

src/framework-configuration.ts:265–269  ·  view source on GitHub ↗

* Adds an async function that runs before the plugins are run. * @param task The function to run before start. * @return Returns the current FrameworkConfiguration instance.

(task: Function)

Source from the content-addressed store, hash-verified

263 * @return Returns the current FrameworkConfiguration instance.
264 */
265 preTask(task: Function): FrameworkConfiguration {
266 assertProcessed(this);
267 this.preTasks.push(task);
268 return this;
269 }
270
271 /**
272 * Adds an async function that runs after the plugins are run.

Callers 3

constructorMethod · 0.95
_addNormalizedPluginMethod · 0.95
developmentLoggingMethod · 0.95

Calls 1

assertProcessedFunction · 0.85

Tested by

no test coverage detected