4- Callables and Futures
5:00
2 ਸਪੀਕਰ
1 ਚੈਪਟਰ
119 ਰੇਖਾ- ਖੰਡ
ਸਪੀਕਰ
ਚੈਪਟਰ
-
0:03ਚੈਪਟਰ 1: Sometimes we want to return a value from a task. 294s · Speaker 1
Sometimes we want to return a value from a task. For example, we may call the Twitter API to get the latest tweets for a given user. That's when we use the callable interface. If you look at the signature of the submit method, you can see t…