python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
In python typing in the Class method __init__ the argument type annotation I have for 1 attribute is: Callable = None, what does the annotation state?
The init function inside a Class is annotated the following way:
def __init__(self, directory: str, transforms: Callable = None, extension: str = '.jpg'):
The question is what Callable = None is ...
Alex
Votes: 0
Answers: 2
I need not wait until executing async method call()
I need to do some async method. And not wait until it executing. I try with Future but it not help.
Future<Boolean> future = executorService.submit(new MyCallable());
LOGGER.info("onFailedL...
Alexei
Votes: 0
Answers: 1