MCPcopy
hub / github.com/ionic-team/capacitor / remove

Function remove

core/src/runtime.ts:140–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138 const addListenerNative = (eventName: string, callback: any) => {
139 const call = addListener({ eventName }, callback);
140 const remove = async () => {
141 const callbackId = await call;
142
143 removeListener(
144 {
145 eventName,
146 callbackId,
147 },
148 callback,
149 );
150 };
151
152 const p = new Promise((resolve) => call.then(() => resolve({ remove })));
153

Callers 9

wrapperFunction · 0.85
addListenerNativeFunction · 0.85
removePluginFilesFunction · 0.85
autoGenerateConfigFunction · 0.85
removePluginsNativeFilesFunction · 0.85
removePluginsNativeFilesFunction · 0.85
copyWebDirFunction · 0.85
removeCocoapodsFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected