KGraphQL icon indicating copy to clipboard operation
KGraphQL copied to clipboard

Support for suspendable schema execution

Open mdnorman opened this issue 7 years ago • 1 comments

Along with #38, it would be great if the schema supported suspendable execute. That way, when using a server that supports coroutines (like ktor with netty), expensive queries and mutations could be suspended naturally with low overhead.

mdnorman avatar Dec 16 '18 18:12 mdnorman

I opened a pull request solving #38. I think that is solving most of the suspendable executions.

But I'm wondering why even have suspendResolver and not just make everything suspendable. The logic behind is doing it anyway. This is also how ktor does it.

jeggy avatar Jan 29 '19 20:01 jeggy