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
The different JS functions can't be used in a cloudflare worker environment where I/O is not allowed outside the request, it fails with:
Error: Disallowed operation called within global scope. Asynchronous I/O (ex: fetch() or connect()), setting a timeout, and generating random values are not allowed within global scope. To fix this error, perform this operation within a handler. https://developers.cloudflare.com/workers/runtime-apis/handlers/
Activity
Lms24 commentedon Mar 21, 2024
This ties in with general CF worker support which we still need to tackle. Tracked in #2484 and more generally in #5611
AbhiPrasad commentedon Aug 2, 2024
With the changes to metrics to use span attributes, this is a won't do now.