Join Slack
Powered by
hi guys, is it possible to have async code in serv...
# prisma-whats-new
y
yus
06/01/2017, 1:25 AM
hi guys, is it possible to have async code in server side subscription functions?
s
simpod
06/01/2017, 1:35 AM
@yus
i did it in php therefore i believe its possible in js too, cant help with this one tho
y
yus
06/01/2017, 1:35 AM
you mean you use a webhook instead of inline?
yus
06/01/2017, 1:36 AM
so you have to host a server somewhere with your php code i'm guessing?
s
simpod
06/01/2017, 1:44 AM
yup, I host my server and clients use wss protocol to connect there
simpod
06/01/2017, 1:45 AM
so they can subscribe to the graphql
Open in Slack
Previous
Next