Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Absinthe continuations #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bernardd
Copy link

@bernardd bernardd commented Jul 27, 2018

This change adds support for continuations and the @defer directive as implemented in absinthe-graphql/absinthe#559. It's not meant to be merged until that one's all done (the dependency in mix.exs will need updating), but I figured I'd put it here now so that it's ready to go.

Of note: There's support for asynchronous handling of continuations (as discussed in absinthe-graphql/absinthe#559 (comment)), but it's off by default. To enable it, the endpoint can be started with the max_async_procs flag (see socket/1 in async_test.exs), specifying the maximum number of temporary processes used to handle asynchronous queries. Beyond that number, queries using @defer will be blocked as usual on long running requests.

@bernardd bernardd force-pushed the defer-directive-support branch from 03e3bf3 to 50323ef Compare October 8, 2018 03:27
@bernardd bernardd force-pushed the defer-directive-support branch 2 times, most recently from 4a2b3a3 to a0a0a8d Compare March 15, 2019 00:16
@bernardd bernardd force-pushed the defer-directive-support branch from a0a0a8d to aea8ce6 Compare May 6, 2019 00:39
@bernardd bernardd force-pushed the defer-directive-support branch from aea8ce6 to 9d147dd Compare June 27, 2019 05:37
@bernardd bernardd force-pushed the defer-directive-support branch from 9d147dd to 1a3991f Compare November 6, 2019 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant