EventStore extends NylasStore

Summary

EventStore maintains

Listening for Changes

The EventStore monitors the DatabaseStore for changes to {Event} models and triggers when events have changed, allowing your stores and components to refresh data based on the EventStore.

@unsubscribe = EventStore.listen(@_onEventsChanged, @)

_onEventsChanged: ->
  # refresh your event results