Rank 2: Process
What is the correct syntax to trigger a realtime event only on my 3 collections for every document? With or without the brackets?
client.subscribe(
['databases.[63446ca755a041305f7f].collections.[66f7fce6002b828c5b50].documents',
'databases.[63446ca755a041305f7f].collections.[667be4de65e1cbaedb43].documents',
'databases.[63446ca755a041305f7f].collections.[667698d85d98f40d9f97].documents',
'files'], response => {
// Callback will be executed on changes for documents and all files.
console.log("realtime :", response);
this.realtimePayload = response.payload;
});