MCPcopy
hub / github.com/vercel/hyper / onWindowClass

Function onWindowClass

app/plugins.ts:329–341  ·  view source on GitHub ↗
(win: BrowserWindow)

Source from the content-addressed store, hash-verified

327};
328
329export const onWindowClass = (win: BrowserWindow) => {
330 modules.forEach((plugin) => {
331 if (plugin.onWindowClass) {
332 try {
333 plugin.onWindowClass(win);
334 } catch (e) {
335 notify('Plugin error!', `"${plugin._name}" has encountered an error. Check Developer Tools for details.`, {
336 error: e
337 });
338 }
339 }
340 });
341};
342
343export const onWindow = (win: BrowserWindow) => {
344 modules.forEach((plugin) => {

Callers

nothing calls this directly

Calls 2

notifyFunction · 0.70
forEachMethod · 0.45

Tested by

no test coverage detected