MCPcopy Create free account
hub / github.com/gotify/server / waitForGotify

Function waitForGotify

ui/src/tests/setup.ts:87–97  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

85};
86
87const waitForGotify = (url: string): Promise<void> =>
88 new Promise((resolve, err) => {
89 wait({resources: [url], timeout: 40000}, (error: string) => {
90 if (error) {
91 console.log(error);
92 err(error);
93 } else {
94 resolve();
95 }
96 });
97 });
98
99const buildGoPlugin = (filename: string, pluginPath: string): Promise<void> => {
100 process.stdout.write(`### Building Plugin ${pluginPath}\n`);

Callers 1

newTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…