protoduck
Fancy duck typing for the most serious of ducks.
Fancy duck typing for the most serious of ducks.
The function of Promise is implemented by handwriting, and the goal is to be completely consistent with the function of native Promise.
Multi-type protocol-based polymorphism