MCPcopy Create free account
hub / github.com/csound/csound / makeSingleThreadCallback

Function makeSingleThreadCallback

wasm/browser/src/utils.js:70–73  ·  view source on GitHub ↗
(csoundInstance, apiCallback)

Source from the content-addressed store, hash-verified

68
69export const makeSingleThreadCallback =
70 (csoundInstance, apiCallback) =>
71 async (...arguments_) => {
72 return await apiCallback.apply({}, [csoundInstance, ...arguments_]);
73 };
74
75export const fetchPlugins = async (withPlugins) => {
76 return await Promise.all(

Callers 2

callbackMethod · 0.90
initializeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected