I have a class that does a lot of things, inside that class I have a function which takes some time to finish. What\'s the best way to get the \'status\' of what that functi