Run an asynchronous IO action and return a future in the Now monad
that resolves with the eventual result of the IO action once it
completes. This function is what allows the Now monad to execute
imperative actions in a way that is pure and integrated with FRP.
Takes a stream of IO actions and return a stream in a now
computation. When run the now computation executes each IO action
and delivers their result into the created stream.
Convert a future now computation into a now computation of a
future. This function is what allows a Now-computation to reach
beyond the current moment that it is running in.
Run the given Now-computation. The returned promise resolves once
the future that is the result of running the now computation
occurs. This is an impure function and should not be used in normal
application code.
Run an asynchronous IO action and return a future in the Now monad that resolves with the eventual result of the IO action once it completes. This function is what allows the Now monad to execute imperative actions in a way that is pure and integrated with FRP.