FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
roadmap/app/javascript/channels/example_channel.js at api-patch · DMPRoadmap/roadmap · GitHub
DMPRoadmap
roadmap
Repository navigation
Code
Issues
300
(300)
Pull requests
49
(49)
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
roadmap
/
app
/
javascript
/
channels
/
example_channel.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (7 loc) · 308 Bytes
Breadcrumbs
roadmap
/
app
/
javascript
/
channels
/
example_channel.js
Copy path
File metadata and controls
9 lines (7 loc) · 308 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
// This is an example of an ActionCable channel. All channel files should live
// in this directory. Delete this after uncommenting the `require('channels');`
// line in packs/application.js
import
consumer
from
'./consumer'
;
consumer
.
subscriptions
.
create
(
'ChatChannel'
,
{
// Do some exciting stuff!
}
)
;
Back
|
FazBrowse Home
|
New Git URL