Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1 KB

resolvers_Subscription_directMessageChat.md

File metadata and controls

28 lines (16 loc) · 1 KB

talawa-api / Exports / resolvers/Subscription/directMessageChat

Module: resolvers/Subscription/directMessageChat

Table of contents

Variables

Variables

directMessageChat

Const directMessageChat: SubscriptionResolvers["directMessageChat"]

This property contained a subscribe field, which is used to subscribe the user to get updates for the CHAT_CHANNEL event.

Remarks

To control updates on a per-client basis, the function uses the withFilter method imported from apollo-server-express module. You can learn about subscription here.

Defined in

src/resolvers/Subscription/directMessageChat.ts:12