MCPcopy Index your code
hub / github.com/vercel/hyper / onApp

Function onApp

app/plugins.ts:315–327  ·  view source on GitHub ↗
(app_: App)

Source from the content-addressed store, hash-verified

313}
314
315export const onApp = (app_: App) => {
316 modules.forEach((plugin) => {
317 if (plugin.onApp) {
318 try {
319 plugin.onApp(app_);
320 } catch (e) {
321 notify('Plugin error!', `"${plugin._name}" has encountered an error. Check Developer Tools for details.`, {
322 error: e
323 });
324 }
325 }
326 });
327};
328
329export const onWindowClass = (win: BrowserWindow) => {
330 modules.forEach((plugin) => {

Callers

nothing calls this directly

Calls 2

notifyFunction · 0.70
forEachMethod · 0.45

Tested by

no test coverage detected