MCPcopy Create free account
hub / github.com/aws/constructs / add

Method add

src/dependency.ts:46–48  ·  view source on GitHub ↗

* Add a construct to the dependency roots

(...scopes: IDependable[])

Source from the content-addressed store, hash-verified

44 * Add a construct to the dependency roots
45 */
46 public add(...scopes: IDependable[]) {
47 this._deps.push(...scopes);
48 }
49}
50
51const DEPENDABLE_SYMBOL = Symbol.for('@aws-cdk/core.DependableTrait');

Callers 3

constructorMethod · 0.95
construct.test.tsFile · 0.80
addDependencyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected