Edge Runtime Extended Functions
Hi
I was looking at the edge runtime code, and I was wondering if there’s an example of extending it with additional context that is per request or at least per script?
I was considering a flow like:
I was looking at the edge runtime code, and I was wondering if there’s an example of extending it with additional context that is per request or at least per script?
I was considering a flow like:
- Main runtime looks up information about user from user database
- Main runtime validate user has access to function
- Script in runtime can read username from something like Context.user as a global and get that information if needed