Fork me on GitHub

what would it take to be able to return manifold deferreds from resolvers instead of core.async channels?


You can do something similar to converting promises to channels wrapping one in another. In the end you need to provide a channel (a promise-channel preferably) to Pathom, some ways you can make it easier on you are: - create a ::pc/transform operation, so you can easely plug specific resolvers to accept manifold - if you wanna use it a lot, you can wrap a plugin using ::pc/wrap-resolve so you can detect manifold outputs and convert then to core.async channels