Code example for Future

Methods: cancelisCancelledisDone