Let foo be sub or method. I have programmed a blocking and an async variant, so looking from the outside the essential difference is in the return value. I first thought of specifying it in the signature, but the dispatcher unfortunately only looks at the incoming end instead of both:
Recently I came across the below given code on a competetive programming website,https://www.codechef.com/viewsolution/22121098
I came across this error message in another question and I would like to know what is the meaning of the $: part of the signature, please?