I have some scenario
- scheduler(call repeatedly) should call for a async function say fun().
- Controller should call same function fun() and return result based on successful completion(By checking exception)
Please provide me some skeleton with appropriate notations.