Adding a bit more detail.
in the phrase DO STUFF
I was attempting to get the return value from the background task like so:
data = self.task.get_return_value()
self.set_data(data)
self.init_load_flag = True
Unfortunately transitioning to get_termination_status()
still was yielding a None from ```get_return_value()``
I resolved this by changing the statement a little:
data = self.task.get_return_value()
if data is not None:
self.set_data(data)
self.init_load_flag = True
But I still feel as though the termination status or completed flag should not be changed until the return value is ready to return.