Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

generate

streams.generate

creates a - potentially infinite - stream by using given supplier
end of stream is reached once supplier returns nil
note that the supplier is called only once for each has_next/next cycle