Update Lifecyclecallbacks.md

Describe the purpose and use of cb(). Please tell me if there is a better spot to put this!