0no-co / wonka

🎩 A tiny but capable push & pull stream library for TypeScript and Flow
MIT License
709 stars 29 forks source link

fix: Add missing Promise.resolve() tick to toPromise #131

Closed kitten closed 1 year ago

kitten commented 1 year ago

Add missing Promise.resolve(value).then(...) tick to the toPromise helper, as has been done in @urql/core.