AshleyScirra/via.js

[Question] Can via.js be used to execute fetch() in AudioWorkletGlobalScope?

guest271314 opened this issue · 2 comments

fetch() is not defined in AudioWorkletGlobalScope. Can via.js be used to execute fetch() in AudioWorkletGlobalScope?

I don't know, try it and see.

Not as currently written. AudioWorkletProcessor uses a MessagePort

audioWorklet.js:359 Uncaught (in promise) TypeError: self.postMessage is not a function
    at Object.Via.postMessage (audioWorklet.js:359)
    at Via.Flush (audioWorklet.js:189)