fastly / js-compute-runtime

JavaScript SDK and runtime for building Fastly Compute applications
https://developer.fastly.com/learning/compute/javascript/
Apache License 2.0
193 stars 26 forks source link

StarlingMonkey port body streaming and event loop lifetime fixes #795

Closed guybedford closed 1 month ago

guybedford commented 1 month ago

This fixes the fetch event body streaming and lifetime handling for the StarlingMonkey port. Lifetimes are handled properly now by carefully ensuring that event loop interest increments and decrements directly correspond to being equivalent to the fetch_event::is_active state.