Safe-DS / DSL

Statically checked Data Science programs.
https://dsl.safeds.com
MIT License
14 stars 0 forks source link

Event-based `yield` #1167

Open lars-reimann opened 4 months ago

lars-reimann commented 4 months ago

Is your feature request related to a problem?

A segment may already yield some of its results early on. However, it still runs to completion even if the other statements are pure. Other program elements could already continue if they only need the yielded results.

Desired solution

Implement yields using events instead of returns?

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response