i really wish promises first class exposed the graph of computing

like DOM Event Handlers, the design is explicitly unmodelled, there is no way to tell who is listening. there are well defined internal apis though!

i want to be able to look at a promise, and know what other promises it is depending on. and know what promises they depend on.

i'd like to take a promise & see what other promises depend on it.

there's so many interesting possibilities to entertain for powerful promises.

* report all the state sync
* what if the resolve/reject/finally handlers got passed the promise

Follow

@jauntywunderkind420 dask (python library for distributed computing) does this. Not sure if the user is *supposed* to look at the graph, but it's very easy and clean and doable.

Disclaimer: last version I used (~ 2017) was buggy as hell.

Sign in to participate in the conversation
Mastodon

a Schelling point for those who seek one