MCPcopy Index your code
hub / github.com/codecombat/codecombat / getFetchMessage

Method getFetchMessage

app/lib/wsBus.js:84–94  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

82 }
83
84 getFetchMessage (data) {
85 const obj = {
86 to: data.from,
87 type: 'send',
88 infos: {}
89 }
90 data.infos.forEach(info => {
91 obj.infos[info] = baseInfoHandler[info]()
92 })
93 this.ws.sendJSON(obj)
94 }
95
96 getMsg (data) {
97 noty({

Callers 1

initMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected