public IContext WhenResuming(Action handler)
 {
     _lifecycle.WhenResuming(handler);
     return(this);
 }