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