continue the execution of a function after handled panic
I’m trying to make a task scheduler that does tasks in the given interval and also can handle an occurring panic. My question is how can I continue executing the function after handling the panic. func scheduleTask(task func() error, interval time.Duration, timeout time.Duration) { //add waitgroup and mutex var wg sync.WaitGroup var mtx sync.Mutex var… Read More continue the execution of a function after handled panic