Skip to content

Commit

Permalink
fix: added lifecycle/onConnect.js (#1089)
Browse files Browse the repository at this point in the history
Co-authored-by: souvik <[email protected]>
  • Loading branch information
Gmin2 and Souvikns authored Jan 30, 2024
1 parent 65e7822 commit 8ac4860
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 8ac4860

Please sign in to comment.