Closed 0xgeert closed 10 years ago
Test if message indeed called by subscribnig to firehose
:
https://github.com/balderdashy/sails-docs/blob/master/reference/Sockets/sails.sockets.subscribeToFirehose.md
model.message
is not for multiple models. Instead mode.publish
would be what we want. Still, can't seem to be able to send message.. sucks.
For future ref: we needed to include todo
as the eventName
. So for instance:
Todo.publish(todosUpdated,"todo","message", {
data: todosUpdated,
verb: "whatever"
}, req);
upstream: https://github.com/balderdashy/sails/issues/1813