'use strict'constContainer=require('../../').Containermodule.exports=function(){// Example of using a post-constructor to resolve a cyclic dependencyclassA{staticconstitute(){return[Container]}constructor(container){// Assigning b in a post-constructor allows both objects to be constructed// first, resolving the cyclic dependency.//// Note that the post-constructor still runs synchronously, before this// object is returned to any third-party consumers.container.schedulePostConstructor(function(b){this.b=b},[B])}}classB{staticconstitute(){return[A]}constructor(a){this.a=a}}return{A,B}}