def METHOD_NAME(seed, chunk_size, distribution, **kw):
    """RNG stream as a chunked generator."""
    rng = default_rng(seed)
    distribution = getattr(rng, distribution)
    # Yield from distribution in chunks
    chunk_index = 0
    while True:
        chunk_data = distribution(size=chunk_size, **kw)
        yield chunk_index, chunk_data
        chunk_index += 1