uproot.TrivialExecutor — Uproot documentation

# uproot.TrivialExecutor

Defined in uproot.source.futures on line 92.

Inheritance order:
uproot.source.futures.Executor `abc.ABC`

class uproot.source.futures.TrivialExecutor

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

## submit

Inherited from uproot.source.futures.Executor.

TrivialExecutor.submit(task, /, *args, **kwargs)

  Immediately runs `task(*args)`.

## shutdown

Inherited from uproot.source.futures.Executor.

TrivialExecutor.shutdown(wait: bool = True)

  Stop the executor and free its resources.

## closed

Inherited from uproot.source.futures.Executor.

TrivialExecutor.closed

  True if the executor has been stopped and its resources freed.