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

Method postTask

src/framework-configuration.ts:276–280  ·  view source on GitHub ↗

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

(task: Function)

Source from the content-addressed store, hash-verified

274 * @return Returns the current FrameworkConfiguration instance.
275 */
276 postTask(task: Function): FrameworkConfiguration {
277 assertProcessed(this);
278 this.postTasks.push(task);
279 return this;
280 }
281
282 /**
283 * Configures an internal feature plugin before Aurelia starts.

Callers 2

constructorMethod · 0.95
globalResourcesMethod · 0.95

Calls 1

assertProcessedFunction · 0.85

Tested by

no test coverage detected