* Add an ordering dependency on a Dependable (a construct or set of constructs) * * It is up to the target document language to decide what an ordering * relationship means and how it should be rendered; for example, in the AWS * CDK for CloudFormation it means a dependency from every re
(...deps: IDependable[])
| 381 | * be involved in the dependency relationship. |
| 382 | */ |
| 383 | public addDependency(...deps: IDependable[]) { |
| 384 | if (!this._dependencies) { |
| 385 | this._dependencies = new Set(); |
| 386 | } |
| 387 | for (const d of deps) { |
| 388 | this._dependencies.add(d); |
| 389 | } |
| 390 | } |
| 391 | |
| 392 | /** |
| 393 | * Remove an ordering dependency on a Dependenable (a construct or set of constructs) |