MCPcopy Index your code
hub / github.com/aurelia/framework / assertProcessed

Function assertProcessed

src/framework-configuration.ts:144–148  ·  view source on GitHub ↗
(plugins: FrameworkConfiguration)

Source from the content-addressed store, hash-verified

142}
143
144function assertProcessed(plugins: FrameworkConfiguration) {
145 if (plugins.processed) {
146 throw new Error('This config instance has already been applied. To load more plugins or global resources, create a new FrameworkConfiguration instance.');
147 }
148}
149
150function invalidConfigMsg(cfg: any, type: string) {
151 return `Invalid ${type} [${cfg}], ${type} must be specified as functions or relative module IDs.`;

Callers 5

preTaskMethod · 0.85
postTaskMethod · 0.85
globalResourcesMethod · 0.85
globalNameMethod · 0.85
pluginMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…