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