import { setEnviromentContext } from './environment' ; import { getOwner , setOwner } from '@glimmer/owner' ; import { getValue , createCache } from '@glimmer/validator' ; import { invokeHelper } from '@glimmer/runtime' ; import { setHelperManager , helperCapabilities } from '@glimmer/manager' ; import { isDestroying , isDestroyed , destroy , registerDestructor , associateDestroyableChild } from '@glimmer/destroyable' ; function waitForPromise < T > ( promise ) { return promise ; } setEnviromentContext ( { getOwner , setOwner , createCache , getValue , invokeHelper , waitForPromise , setHelperManager , helperCapabilities , isDestroyed , isDestroying , destroy , registerDestructor , associateDestroyableChild } ) ;