MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / notify

Function notify

packages/webpack5/src/plugins/WatchStatePlugin.ts:97–111  ·  view source on GitHub ↗
(message: any)

Source from the content-addressed store, hash-verified

95}
96
97function notify(message: any) {
98 env.verbose && console.log(`[${id}] Notify: `, message);
99 if (!process.send) {
100 return;
101 }
102
103 // @ts-ignore
104 process.send(message, (error) => {
105 if (error) {
106 console.error(`[${id}] Process Send Error: `, error);
107 }
108
109 return null;
110 });
111}

Callers 1

applyMethod · 0.70

Calls 3

sendMethod · 0.80
errorMethod · 0.80
logMethod · 0.45

Tested by

no test coverage detected