Function LoopEffectFactory
- LoopEffectFactory(parent?): {
effect: {
loop: ((signal) => Promise<void>);
};
removeEffect?: (() => void);
}
-
Returns {
effect: {
loop: ((signal) => Promise<void>);
};
removeEffect?: (() => void);
}
-
effect: {
loop: ((signal) => Promise<void>);
}
-
loop: ((signal) => Promise<void>)
-
- (signal): Promise<void>
-
Returns Promise<void>
-
Optional
removeEffect?: (() => void)