213
213
work_item.future.set_exception(result_item.exception)
215
215
work_item.future.set_result(result_item.result)
219
217
executor = executor_reference()
220
218
# No more work items can be added if:
221
219
# - The interpreter is shutting down OR