Commit Detail
Commit 98fd6db
Add isDynamicDispatch flag to the worker entrypoint dispatch path Pass isDynamicDispatch bool from newWorkerEntrypoint() into getExportedHandler(), covering both the HTTP/connect path (via WorkerEntrypoint) and the JS RPC path (via JsRpcSessionCustomEvent and EntrypointJsRpcTarget). The flag is passed as a parameter to CustomEvent::run() so every implementation is required at the call site to forward it explicitly to getExportedHandler(). All other CustomEvent::run() implementations (trace, queue, hibernatable-web-socket, tail-stream) also pass it through for consistency and forward-compatibility.
Files changed
15 files changed~15 modified