offix
offix copied to clipboard
Document Specific Subscription
Feature Request
Allow users to subscribe to local events on specific documents
CC @wtrocki @kingsleyzissou
I tried implementing and ran into some problems:
- If the document subscribed to, is updated such that it no longer matches the filter you subscribe to then you will no longer receive events
- providing this functionality will imply that the data in each event always match the filter, this is fine for single updates, but what about batch updates?
event.data
in batch updates will contain more data than what matches the filter
I think we need filtering to be applied on top of the event so if the element doesn't match filter it will be resolved based on filter