disconnect

open external fun disconnect()(source)

The MutationObserver method disconnect() tells the observer to stop watching for mutations.

MDN Reference