Skip to content

Commit 3dbcadc

Browse files
feat(effects): deprecate act operator (#4073)
1 parent dcdd462 commit 3dbcadc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/effects/src/act.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ export interface ActConfig<
3838
unsubscribe?: (count: number, input: Input) => UnsubscribeAction;
3939
}
4040

41+
/**
42+
* @deprecated Use plain RxJS operators instead.
43+
* For more info see: https://github.com/ngrx/platform/issues/4072
44+
*/
4145
export function act<
4246
Input,
4347
OutputAction extends Action,
@@ -46,6 +50,10 @@ export function act<
4650
project: (input: Input, index: number) => Observable<OutputAction>,
4751
error: (error: any, input: Input) => ErrorAction
4852
): (source: Observable<Input>) => Observable<OutputAction | ErrorAction>;
53+
/**
54+
* @deprecated Use plain RxJS operators instead.
55+
* For more info see: https://github.com/ngrx/platform/issues/4072
56+
*/
4957
export function act<
5058
Input,
5159
OutputAction extends Action,

0 commit comments

Comments
 (0)