paf31 / purescript-behaviors

A simple push-pull FRP implementation
MIT License
135 stars 21 forks source link

Event with blocking #22

Closed i-am-tom closed 6 years ago

i-am-tom commented 6 years ago

The withBlocking function uses fix to allow us to block inputs based on values discovered later in the process. A lot of the insight here comes from @monoidmusician, to whom I'm eternally grateful.

i-am-tom commented 6 years ago

Closing to consolidate with the other PR