Wrap a generator function in a future for fine-grained resolution control.