milibopp / carboxyl

Functional Reactive Programming library for Rust
Mozilla Public License 2.0
406 stars 19 forks source link

Return intermediate values from `Signal::cyclic` #74

Open milibopp opened 9 years ago

milibopp commented 9 years ago

Currently it is a bit hacky to return an intermediate value from inside the defining closure passed to Signal::cyclic. There should be a more convenient alternative API method to do this.