def
func:futureIsComplete
futureIsComplete(future)
Return if a future has completed or is still pending a result. A future is completed by any of the following conditions:
- the task processes the message and returns a result
- the task processes the message and raises an exception
- the future is cancelled See task.