Shorthand syntax for "Auto" reactions
オープン
enhancement
- 主要言語
- TypeScript
- スター
- 176
- フォーク
- 9
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
"Reactions" are unobserved side effects in response to an observed computation.
The current way to do this:
```ts
auto(() => {
// Observed computation here
noto(() => {
// Unobserved side effects here
})
})
```
The proposed way to do this:
```ts
auto(
() => {
// Observed computation here
},
result => {
// Unobserved side effects here
}
)
```
The bonus (of course) being that you don't need to import `noto`.
コントリビューションガイド
評価
この issue はまだ評価されていません。