MCPcopy
hub / github.com/Sathvik-Rao/ClipCascade / sendClipBoard

Function sendClipBoard

ClipCascade_Mobile/src/StartForegroundService.js:1440–1446  ·  view source on GitHub ↗
(clipContent, type_ = 'text')

Source from the content-addressed store, hash-verified

1438
1439 // send clipboard content
1440 const sendClipBoard = async (clipContent, type_ = 'text') => {
1441 if (server_mode === 'P2S') {
1442 await sendClipBoardP2S(clipContent, type_);
1443 } else if (server_mode === 'P2P') {
1444 await sendClipBoardP2P(clipContent, type_);
1445 }
1446 };
1447
1448 // terminate service when wsIsRunning is false
1449 const stopServices = async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected