16:08 | <Justin Ridgewell> | https://github.com/tc39/proposal-async-context/pull/77 seems to have everyone saying call-time context is the better choice by default. |
16:15 | <littledan> | https://github.com/tc39/proposal-async-context/pull/77 seems to have everyone saying call-time context is the better choice by default. |
16:32 | <Justin Ridgewell> | For system scheduled events, yes. But for event listeners triggered in code, call time seems to be the consensus. |
16:37 | <littledan> | I'm happy with this as a starting point, but I still think we will have to consider around 10 of these semi-manually to make sure it works out in practice for the web |
16:38 | <littledan> | note that |
16:39 | <Justin Ridgewell> | Steve works on libraries across Web and Node, and he’s advocating for it too |
16:40 | <Justin Ridgewell> | Though I don’t know how generators will work in this system. |
16:40 | <littledan> | oh I did not mean Steve |
16:40 | <littledan> | Though I don’t know how generators will work in this system. |
16:40 | <Justin Ridgewell> | I think we’re still agreeing on init-time, but how do you get the call-time context in one? |
16:41 | <littledan> | I think we’re still agreeing on init-time, but how do you get the call-time context in one? |
16:41 | <littledan> | and onload doesn't have any sort of call-time context so it uses registration-time context |
16:41 | <Justin Ridgewell> | Steve and Stephen have given examples where generators need to access the call-time data |
16:42 | <littledan> | OK I'll have to catch up on those threads |
16:42 | <littledan> | we have to have this conversation with Steven and Signals people about Computed's context -- there's a concern that call-time context there would constitute "Zalgo": a computed signal could be forced in many different ways, and it should be giving the same answer regardless of context (of course we need some debugging/perf analysis tools to be possible) |
18:12 | <Chengzhong Wu> | For system scheduled events, yes. But for event listeners triggered in code, call time seems to be the consensus. |