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

Update TypedServer stage4 demo to the current main #100

Open
erszcz opened this issue Jun 9, 2022 · 0 comments
Open

Update TypedServer stage4 demo to the current main #100

erszcz opened this issue Jun 9, 2022 · 0 comments

Comments

@erszcz
Copy link
Member

erszcz commented Jun 9, 2022

This will involve using an auxiliary helper together with changes to Gradient.TypedServer.CompileHooks.

Specifically, CompileHooks will have to detect the standard GenServer.handle_call return values instead of just detecting the TypedServer.reply call, as the latter won't be usable at all, since the auxiliary handle cannot accept from at all. This is due to from, due to the use of term() / any() in its definition, disabling exhaustiveness checking. See #96 for more details.

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

No branches or pull requests

1 participant