3 ms·
Something like that, except you probably also want to be able to express things like “whatever the callback I’m passed can throw, I can throw all of that and al
by mananaysiempre 8mo ago
Something like that, except you probably also want to be able to express things like “whatever the callback I’m passed can throw, I can throw all of that and also FooException”. And correctly handle the cases when the callback can throw FooException itself, and when one of the potential exceptions is dependent on a type parameter, and you see how this becomes a whole thing when done properly. But it’s doable.