Type alias EffectFactory<C, Effect>
EffectFactory<C, Effect>: ((parent?) => {
effect: Effect;
removeEffect?: (() => void);
})
Type declaration
-
- (parent?): {
effect: Effect;
removeEffect?: (() => void);
}
-
Returns {
effect: Effect;
removeEffect?: (() => void);
}
-
effect: Effect
-
Optional
removeEffect?: (() => void)