MCPcopy Index your code
hub / github.com/dry-python/returns / factory

Method factory

returns/future.py:1172–1174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1170 """API for :ref:`do-notation`."""
1171
1172 async def factory() -> AsyncGenerator[_ValueType_co, None]:
1173 for inner_value in await self._inner_value: # pragma: no branch
1174 yield inner_value # will only yield once
1175
1176 return factory()
1177

Callers

nothing calls this directly

Calls 1

SuccessClass · 0.90

Tested by

no test coverage detected