MCPcopy Create free account
hub / github.com/tensorflow/tfjs / sendChatMsg

Function sendChatMsg

scripts/cloud_funcs/sync_reactnative/index.js:61–68  ·  view source on GitHub ↗
(url, msg)

Source from the content-addressed store, hash-verified

59};
60
61async function sendChatMsg(url, msg) {
62 const res = await request(url, {
63 resolveWithFullResponse: true,
64 method: 'POST',
65 json: true,
66 body: {text: msg},
67 });
68}
69
70module.exports.sync_reactnative = sync_reactnative;

Callers 1

sync_reactnativeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…