0
0
llucycodes42
This code creates an effect that returns an observable stream that will emit completion whenever the actions stream is finished.
Library: angular
Shortcut: a_ngrx_create_effect
effectName$ = createEffect(() => {
return this.actions$.pipe(
ofType(action),
/** An EMPTY observable only emits completion. Replace with your own observable stream */
operator(() => EMPTY));
});