Shorthand syntax for "Auto" reactions
Abierto
enhancement
- Lenguaje dominante
- TypeScript
- Estrellas
- 176
- Forks
- 9
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
"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`.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.