Hacker GitHub

← All repos

kozhevnikov/proxymise

View on GitHub ↗ ★ 554 JavaScript

Chainable Promise Proxy

3 mentions on Hacker News by 1 person: 1 story, 2 comments · first 2018-07-13 · latest 2020-02-20

Mentions per year 3 mentions · busiest year 2018 (1)
20082026
  1. FYI to avoid all those awaits and make it chainable you can wrap it in a Proxy. https://github.com/kozhevnikov/proxymise
  2. …even if T is another function, unless you wrap promise in a dummy function before proxying. https://github.com/kozhevnikov/proxymise/blob/master/index.j...
    comment by kozhevnikov · 2019-01-21 · in Meta Programming in JavaScript with Proxies