uproot.source.futures.TrivialFuture
Defined in uproot.source.futures on line 70.
- class uproot.source.futures.TrivialFuture(result)
Formally satisfies the interface for a uproot.source.futures.Future object, but it is already complete at the time when it is constructed.
add_done_callback
- TrivialFuture.add_done_callback(callback, *, context=None)
The callback is called immediately.
result
- TrivialFuture.result(timeout=None)
The result of this (Trivial)Future.