Is there a generic change detection resource in Pulumi. Something like this, for example: ```const ...
p
Is there a generic change detection resource in Pulumi. Something like this, for example:
Copy code
const config = {} // some JSON
new pulumi.Changed(config, async function onChange() {
  await createDeployment()
})
Where
onChange
is only called when
config
changes