ifms-pti/server/src/pubsub.js

8 lines
165 B
JavaScript
Raw Normal View History

2020-12-03 21:27:03 +00:00
import { PubSub } from 'apollo-server'
const USER_PRESENCE_UPDATED = 'USER_PRESENCE_UPDATED'
const pubsub = new PubSub()
export { pubsub, USER_PRESENCE_UPDATED }