Skip to content

Instantly share code, notes, and snippets.

@nparsons08 nparsons08/19.js Secret
Created May 28, 2019

Embed
What would you like to do?
// ./src/App.vue
// [...]
async createChannel (channelName) {
const channel = this.client.channel('messaging', channelName, {
name: channelName
});
await channel.watch()
this.channels.push(channel)
},
// [...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.