have addEffect returns its effect

typescript
Yanick Champoux 2021-10-18 16:11:51 -04:00
parent 541790425a
commit f51c8158fc
1 changed files with 1 additions and 0 deletions

View File

@ -256,6 +256,7 @@ export class Updux<
addEffect(action, effect) {
this.#effects = [...this.#effects, [action, effect]];
return effect;
}
splatSubscriber(store, inner, splatReaction) {