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