Closure.addInvalidateNotifier

Registers an invalidation notifier which will be called when the closure is invalidated with Closure.invalidate. Invalidation notifiers are invoked before finalization notifiers, in an unspecified order.

class Closure
void
addInvalidateNotifier

Parameters

notifyData void*

data to pass to notify_func

notifyFunc GClosureNotify

the callback function to register