How to add realtime updates with AshTypescript channels?

I’m currently evaluating for a new project if we will use AshTypescript for our backend/frontend (frontend probably in next.JS) communication instead of AshGraphQL.

For normal HTTP requests, so far it seems like a superior alternative because of how easy and type safe it can be.

But I’m not exactly sure subscriptions. I want to be able to setup it in a way that the client can subscribe for some topics via PubSub and receive these updates via a Phoenix Channel in real-time.

For AshGraphQL this is done via subscriptions, but for AshTypescript I’m not sure, AshTypescript do have support for Phoenix Channels, but unless I completely missed it in the documentation, I don’t recall seeing any code integrating it with PubSub.

Is this currently supported or should I just stay with AshGraphQL for now if that are my requirements?

Got a reply from the author in github Add support for subscriptions (PubSub) · Issue #40 · ash-project/ash_typescript · GitHub :grinning_face: