Registers a callback which will be invoked when the current composition transaction has completed. The transaction includes all parent and children compositions.
The callback to be invoked when composition is complete.