Skip to content

Instantly share code, notes, and snippets.

@evilpie
Created January 13, 2022 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evilpie/a377535df0914b4db7a71326f39bb680 to your computer and use it in GitHub Desktop.
Save evilpie/a377535df0914b4db7a71326f39bb680 to your computer and use it in GitHub Desktop.
┌──────────────┐ ┌──────────────┐
│Closed promise├───┐ ┌──────────┤Closed promise│
└──┬───────────┘ │ │ └──────────────┘
│ NativePromiseHandler ▲
│ │ │ │
│ ▼ ▼ │
┌────┴──┐ ┌────────────┐ ┌────┴─┐
│ Writer│◄────────┤ PipeToPump │ ───────►│Reader│
└───────┘ └────────────┘ └─┬────┘
▲ │
│ ▼
│ ┌───────────┐
└───────┤ReadRequest│
└───────────┘
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment