MCQs>IT & Programming>Scala>Which statement returns a success or a failure indicator when you execute this code? val MyFuture = Future {runBackgroundFunction() }
Scala MCQs
Which statement returns a success or a failure indicator when you execute this code? val MyFuture = Future {runBackgroundFunction() }
Answer
Correct Answer: MyFuture.onComplete
Explanation:
Note: This Question is unanswered, help us to find answer for this one