Since currently data sources assume you can return a computation that synchronously gives you the result, the usefulness of the library is very limited in Scala.js. It would be desirable to support both synchronous and asynchronous data sources, maybe using monix-eval's Task type instead of Eval in data source's fetch methods? Task is more general than Eval, although we'd lose the ability to run fetches synchronously.
Since currently data sources assume you can return a computation that synchronously gives you the result, the usefulness of the library is very limited in Scala.js. It would be desirable to support both synchronous and asynchronous data sources, maybe using
monix-eval'sTasktype instead ofEvalin data source's fetch methods?Taskis more general thanEval, although we'd lose the ability to run fetches synchronously.