uproot.TrivialExecutor

Defined in uproot.source.futures on line 58.

class uproot.source.futures.TrivialExecutor

Formally satisfies the interface for a uproot.ThreadPoolExecutor, but the submit method computes its task synchronously.

submit

TrivialExecutor.submit(task, *args)

Immediately runs task(*args).

shutdown

TrivialExecutor.shutdown(wait=True)

Does nothing, since this object does not have threads to stop.