Triggered when a policy is updated.
function onPolicyUpdated(handler: function): void;
handler(event: PolicyUpdatedEnvelope): void | Promise<void>
import { policies } from "@wix/events";
policies.onPolicyUpdated((event) => {
// handle your event here
});