GitHub

DaffBestSellersEffects

Effects for handling best seller actions and best seller service requests.

import { DaffBestSellersEffects } from '@daffodil/product/state'
@Injectable()
class DaffBestSellersEffects<<T extends DaffProduct>>  {
  loadBestSellers$: Observable<any>
}

Properties

Name Type Description
loadBestSellers$ Observable<any>

Handles BestSellersLoadAction by making a service call for best selling products and returning a success or failure action to the action stream.