Build environment: macOS,
Moddable SDK version: 8.2.0
Target device: M5Stack CoreS3
Steps to Reproduce
Build and install the example app chataudioio-tools and see error XS abort: JavaScript stack overflow
Other information
It seems to occur when JSON.stringify is called in ChatWorker.sendJSON.
The issue appears to be resolved by specifying something like nativeStack: 8192 when creating the worker..
The required value will likely vary depending on future use cases, so it may be a good idea to extend ChatAudioIO to allow WorkerOptions to be specified.
Build environment: macOS,
Moddable SDK version: 8.2.0
Target device: M5Stack CoreS3
Steps to Reproduce
Build and install the example app
chataudioio-toolsand see errorXS abort: JavaScript stack overflowOther information
It seems to occur when JSON.stringify is called in ChatWorker.sendJSON.
The issue appears to be resolved by specifying something like
nativeStack: 8192when creating the worker..The required value will likely vary depending on future use cases, so it may be a good idea to extend ChatAudioIO to allow WorkerOptions to be specified.