MCPcopy
hub / github.com/Mathieu2301/TradingView-API / onData

Method onData

src/client.js:135–137  ·  view source on GitHub ↗

* When unparsed data is received * @param {(...{}) => void} cb Callback * @event onData

(cb)

Source from the content-addressed store, hash-verified

133 * @event onData
134 */
135 onData(cb) {
136 this.#callbacks.data.push(cb);
137 }
138
139 /**
140 * When a client error happens

Callers 2

#parsePacketMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected