Code example for Future

Methods: cancel, isCancelled, isDone