let model_id = 1
// model broadcast --- private channel
useEchoModel(
'App.Models.TestModel',
model_id,
['.TestModelCreated', '.TestModelUpdated'],
(event) => {
let { model } = event
console.log(`Model ${model.id} stored/updated !!!`)
}
)
how to get the specific event that triggered the callback, when listening for multiple events?