Mailspring/internal_packages/notifications/lib/activity-sidebar-long-poll-store.coffee

9 lines
267 B
CoffeeScript
Raw Normal View History

{Actions} = require 'nylas-exports'
NylasStore = require 'nylas-store'
class AccountSidebarLongPollStore extends NylasStore
constructor: ->
@listenTo Actions.longPollReceivedRawDeltasPing, (n) => @trigger(n)
module.exports = new AccountSidebarLongPollStore()