extism/js-sdk

Implement Thread Pooling

Opened this issue · 1 comments

Background plugins are not pooled at the time of writing. Because calls into a plugin "consume" the backing thread for the duration of execution, many use cases will require a pooled approach. We'll want to make sure we integrate well with AsyncResource in order to integrate well with o11y instrumentation. Node has examples for this; we'll want to see if other platform targets provide polyfills or alternatives.

Postpone until after 1.0 and broaden scope to all supported Extism SDKs