Registers a callback function to be invoked after a node of the specified type is initialized.
The type of the node that extends NodeWithAnyType
The typed node type to attach the initialization callback to
Function to be called with the newly initialized node
A disposer function that can be called to unregister the callback
Registers a callback function to be invoked after a node of the specified type is initialized.