Investigate whether memory usage can be reduced by not caching Promise objects
オープン
good first issue
- 主要言語
- TypeScript
- スター
- 38
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
説明

My strategy would be to wrap cached promises with a new `CachedPromise` class.
```ts
class CachedPromise {
constructor(promise) {
this.promise = promise
promise.then((result) => {
this.result = result
this.promise = null
}, (error) => {
this.error = error
this.promise = null
})
}
then() {}
catch() {}
finally() {}
}
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。