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
{{ message }}
Repository navigation
Async-context formalization and diagnostics support #107
causal context: relates f^i causes g^j if during the ex- ecution of f^i
the function g^j is enabled for execution via an E-Then rule application
on an already resolved priority promise or via an E-Resolve rule application
on a previously un-resolved priority promise.
[...]
For programs that do not use JavaScript promises and rely on raw callbacks the linking context and causal context will be the same at all program points.
I assume the above is meant as "without additional signals" / "in the scope of the formal language described in the paper"? E.g. the following doesn't use "real" Promises but still de-facto has different linking/causal context if I understand it correctly:
Investigate how the general formalisms in the paper handle various corner cases (such as Promise.all).
Would it make sense to collect these in a runnable form? E.g. starting an acceptance suite that just defines the cases but not even necessarily the expected values for causal and/or linking context?
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
Activity
hybrist commentedon Nov 29, 2017
I assume the above is meant as "without additional signals" / "in the scope of the formal language described in the paper"? E.g. the following doesn't use "real" Promises but still de-facto has different linking/causal context if I understand it correctly:
Nevermind, looks like the paper includes that in the context tracking instead of trying to include it in the more general abstractions.
hybrist commentedon Nov 29, 2017
Would it make sense to collect these in a runnable form? E.g. starting an acceptance suite that just defines the cases but not even necessarily the expected values for causal and/or linking context?
mike-kaufman commentedon Dec 17, 2017
FYI the (very rough) draft of this formalization is here: https://github.com/mike-kaufman/async-context-definition. It's still rough, look for more of it to fill out over the next month.
gireeshpunathil commentedon Oct 25, 2019
should this remain open? [ I am trying to chase dormant issues to closure ]
github-actions commentedon Jul 19, 2020
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.