# Future Source: https://www.tensorplay.cn/docs/generated/tensorplay.futures.Future.html ```python class tensorplay.futures.Future ``` A native future value with callback and exception support. ```python add_done_callback(self: object, callback: collections.abc.Callable) → None ``` ```python done(self: tensorplay._C.Future) → bool ``` ```python is_done(self: tensorplay._C.Future) → bool ``` ```python set_result(self: tensorplay._C.Future, result: object) → None ``` ```python then(self: object, callback: collections.abc.Callable) → tensorplay._C.Future ``` ```python value(self: tensorplay._C.Future) → object ``` ```python wait(self: tensorplay._C.Future) → object ```