Techolution Interview Question

write a code to implement Timeout decorator