Core API Overview > @adpt/core > AdaptElement > addDependency
AdaptElement.addDependency() method
Adds a dependency for this Element. This Element will wait to deploy until all dependencies
have completed deployment.
Signature:
addDependency(dependencies: Handle | Handle[]): void;
Parameters
Parameter | Type | Description |
---|---|---|
dependencies | Handle | Handle [] |
Returns:
void