Hi,
Here is my object :
Room = {
id : A32,
availability : {
from: 5pm,
to: 6pm
}
};
I have the following publication :
Meteor.publish('availableRooms', function(){
});
I want to make this publication reactive but based on the availability of the room.
I tought of a periodic job that republish each 1 minute to all clients (which is not performant I think. I have more than 2000 rooms with more data).
How do you handle this kind of reactivity ?
Thanks