ifms-pti/server/src/pubsub.js
2020-12-03 17:27:03 -04:00

8 lines
165 B
JavaScript

import { PubSub } from 'apollo-server'
const USER_PRESENCE_UPDATED = 'USER_PRESENCE_UPDATED'
const pubsub = new PubSub()
export { pubsub, USER_PRESENCE_UPDATED }