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

Function fetchGlobal

examples/nodejs/index.js:63–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61});
62
63async function fetchGlobal() {
64 try {
65 const test = await client.getGlobal('test');
66 } catch (e) {
67 pinoLogger.error('Error fetching global:', e);
68 }
69}
70
71async function testDoAction() {
72 try {

Callers 1

index.jsFile · 0.85

Calls 2

getGlobalMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected