Skip to content

Instantly share code, notes, and snippets.

@fxck
Created September 12, 2018 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fxck/dff28a1b9a37143ebe52778dd7b0b365 to your computer and use it in GitHub Desktop.
Save fxck/dff28a1b9a37143ebe52778dd7b0b365 to your computer and use it in GitHub Desktop.
@Injectable()
export class UsersEffects {
@Effect()
private _onListRequest$ = this._actions$.pipe(
ofType('USER_LIST_REQUEST'),
map((action) => new LoadingAdd(action.type))
);
constructor(private _actions$: Actions) { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment