This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a resource is updated.
function onResourceUpdated(handler: function): void;
handler(event: ResourceUpdatedEnvelope): void | Promise<void>
import { resources } from "@wix/bookings";
resources.onResourceUpdated((event) => {
// handle your event here
});