Merge branch 'getLocalEffects' into return-to-ts
This commit is contained in:
commit
a272ee0329
@ -256,6 +256,7 @@ export class Updux<
|
|||||||
|
|
||||||
addEffect(action, effect) {
|
addEffect(action, effect) {
|
||||||
this.#effects = [...this.#effects, [action, effect]];
|
this.#effects = [...this.#effects, [action, effect]];
|
||||||
|
return effect;
|
||||||
}
|
}
|
||||||
|
|
||||||
splatSubscriber(store, inner, splatReaction) {
|
splatSubscriber(store, inner, splatReaction) {
|
||||||
|
Loading…
Reference in New Issue
Block a user