I have a spreadsheet app (build on electric 😉) with a sandboxed runtime that can evaluate Clojure. In order to support use cases with intermittent return values such as streaming users should be able to write code that returns a flow. The runtime should the be able to identify that the evaluated code (e.g. (m/ap ...) is in fact a flow and run it appropriately.
I have a spreadsheet app (build on electric 😉) with a sandboxed runtime that can evaluate Clojure. In order to support use cases with intermittent return values such as streaming users should be able to write code that returns a flow. The runtime should the be able to identify that the evaluated code (e.g.
(m/ap ...)
is in fact a flow and run it appropriately.to illustrate:
Generally this could be useful for missionary middleware and other cases dynamic evaluation in user land.