X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=smart_future.py;h=7aac8ebb68eb3bb3af6da50b127cfb344ff925e3;hb=532df2c5b57c7517dfb3dddd8c1358fbadf8baf3;hp=a1f6d97741db715871d404d5a126d87a5601b503;hpb=c6fca944b41f292b66efaba27ebf3fd0a37956b8;p=python_utils.git diff --git a/smart_future.py b/smart_future.py index a1f6d97..7aac8eb 100644 --- a/smart_future.py +++ b/smart_future.py @@ -1,9 +1,13 @@ #!/usr/bin/env python3 +# © Copyright 2021-2022, Scott Gasch + """A future that can be treated like the result that it contains and will not block until it is used. At that point, if the underlying value is not yet available, it will block until it becomes -available.""" +available. + +""" from __future__ import annotations import concurrent