SubmitCommentThreadEvent
typedef
Fired whenever a new comment thread is submitted and occurs after creating the first comment.
The event name includes channelId
so it is possible to listen only
on changes happening in the specified channel.
const channelId = 'foo';
commentsRepository.on( `submitCommentThread:${ channelId }`, ( evt, data ) => {
console.log( evt, data );
} );