summaryrefslogtreecommitdiff
path: root/smart_future.py
diff options
context:
space:
mode:
Diffstat (limited to 'smart_future.py')
-rw-r--r--smart_future.py6
1 files changed, 5 insertions, 1 deletions
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