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

Function closeAfterTimeout

ui/src/snack/browserNotification.ts:39–44  ·  view source on GitHub ↗
(event: Event)

Source from the content-addressed store, hash-verified

37}
38
39function closeAfterTimeout(event: Event) {
40 setTimeout(() => {
41 const target = event.target as Notification;
42 target.close();
43 }, 5000);
44}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…