You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under ESM integration all dependencies must be satisfied at import time,
but pthreads requires that we have supply the memory via postMessage, so
the memory is, by definition, not available at import time.
On order to work around this issue we create a smaller pthread
stub/loader file that delays the import of the main program until the
initial `postMessage` has been received. Once the memory is received we
load main program using a dynamic `import` statement.
0 commit comments