lifecycle assignes capsule.$wait