MCPcopy Create free account
hub / github.com/Streamerbot/client / onData

Function onData

packages/vue/src/composables/useStreamerbot.ts:51–55  ·  view source on GitHub ↗
(payload: any)

Source from the content-addressed store, hash-verified

49
50 function onDisconnect() {
51 status.value = 'CLOSED';
52 let cb = toValue(_options.value).onDisconnect;
53 cb?.();
54 }
55
56 function onError(err: Error) {
57 error.value = err?.message ?? 'Unkown Error';
58 status.value = 'CLOSED';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected