turbodombuilder - v0.9.22
    Preparing search index...

    Function deepObserveAny

    • Function

      deepObserveAny

      Parameters

      • data: AbstractType

        The Yjs type to observe.

      • callback: (fieldChanged: string, event: YEvent, target: AbstractType) => void

        The function to call when a matching field changes.

      • ...fieldNames: string[]

        List of field names to observe.

      Returns void

      Observes deeply for changes to any of the specified fields and invokes callback when any field changes.