EffectFactory<C, Effect>: ((parent?) => {
    effect: Effect;
    removeEffect?: (() => void);
})

Type Parameters

Type declaration

    • (parent?): {
          effect: Effect;
          removeEffect?: (() => void);
      }
    • Parameters

      • Optional parent: C

      Returns {
          effect: Effect;
          removeEffect?: (() => void);
      }

      • effect: Effect
      • Optional removeEffect?: (() => void)
          • (): void
          • Returns void

Generated using TypeDoc