Skip to content
PACKAGES

from_async_iter

Kind: function

Source: src/graphrefly/_async.py:785

from_async_iter(graph: Graph, runner: AsyncRunner, factory: Callable[[], AsyncIterable[T]], *, name: str | None = None)

Create a source from a fresh async iterable produced on each activation.

Its default local name is fromAsyncIter with a numeric suffix when occupied.

Each yielded value is one DATA array; the end is COMPLETE, a failure ERROR.