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

streams

🌌streams

streams -- unit type defining features related
to streams but not requiring an instance

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 hasNext/next cycle