func (js *JobScheduler) OnUnload(ctx context.Context) error {
	ctx = js.withBaseContext(ctx)
	if js.Lifecycle().OnUnload != nil {
		return js.Lifecycle().OnUnload(ctx)
	}
	return nil
}
// OnUnload triggers the on unload even on the job lifecycle handler.
OnUnload triggers the on unload even on the job lifecycle handler.
// OnUnload triggers the on unload even on the job lifecycle handler .
func (js *JobScheduler) OnUnload(ctx context.Context) error {
	ctx = js.withBaseContext(ctx)
	if js.Lifecycle().OnUnload != nil {
		return js.Lifecycle().OnUnload(ctx)
	}
	return nil
}
func ( js * JobScheduler ) OnUnload ( ctx context . Context ) error { ctx = js . withBaseContext ( ctx ) if js . Lifecycle ( ) . OnUnload != nil { return js . Lifecycle ( ) . OnUnload ( ctx ) } return nil }
OnUnload triggers the on unload even on the job lifecycle handler.
OnUnload triggers the on unload even on the job lifecycle handler .