can.offPatches
Defines how to stop listening to patch changes on an object.
@can.offPatches( handler, queueName )
The @can.offPatches
symbol points to a function that unregisters a
handler
bound with can.onPatches.
Parameters
- handler
{function(patches)}
:The same handler function passed to can.onPatches.
- queueName
{String}
:The [can-queues] queue the
handler
should be enqueued within. Defaults to"mutate"
.