Skip to content

Commit

Permalink
feat(effects): deprecate act operator (#4073)
Browse files Browse the repository at this point in the history
  • Loading branch information
markostanimirovic authored Oct 19, 2023
1 parent dcdd462 commit 3dbcadc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/effects/src/act.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export interface ActConfig<
unsubscribe?: (count: number, input: Input) => UnsubscribeAction;
}

/**
* @deprecated Use plain RxJS operators instead.
* For more info see: https://github.com/ngrx/platform/issues/4072
*/
export function act<
Input,
OutputAction extends Action,
Expand All @@ -46,6 +50,10 @@ export function act<
project: (input: Input, index: number) => Observable<OutputAction>,
error: (error: any, input: Input) => ErrorAction
): (source: Observable<Input>) => Observable<OutputAction | ErrorAction>;
/**
* @deprecated Use plain RxJS operators instead.
* For more info see: https://github.com/ngrx/platform/issues/4072
*/
export function act<
Input,
OutputAction extends Action,
Expand Down

0 comments on commit 3dbcadc

Please sign in to comment.