Skip to content

Commit

Permalink
added lifecycle/onConnect.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Gmin2 committed Jan 24, 2024
1 parent c741152 commit 019127a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default async function () {
console.log('Connection with Shrek established')
}

export const lifecycleEvent = 'onServerConnectionOpen'
export const channels = ['/chat']

0 comments on commit 019127a

Please sign in to comment.