import { SagaIterator } from 'redux-saga' ; import { takeEvery } from 'redux-saga/effects' ; import { ContractsActions } from '../actions/actionTypes' ; import { ContractsAddSpecSaga } from './ContractsAddSpec' ; import { ContractsRemoveSpecSaga } from './ContractsRemoveSpec' ; import { VtxconfigActions } from '../../vtxconfig/actions/actionTypes' ; import { VtxconfigResetSectionCompleteSaga } from './VtxconfigResetSectionComplete' ; import { ContractsSendSaga } from './ContractsSend' ; import { ContractsNewSaga } from './ContractsNew' ; import { ContractsRemoveSaga } from './ContractsRemove' ; import { ContractsDeploySaga } from './ContractsDeploy' ; export function * ContractsSagas ( ) { yield takeEvery ( ContractsActions . ContractsAddSpec , ContractsAddSpecSaga ) ; yield takeEvery ( ContractsActions . ContractsRemoveSpec , ContractsRemoveSpecSaga ) ; yield takeEvery ( ContractsActions . ContractsSend , ContractsSendSaga ) ; yield takeEvery ( ContractsActions . ContractsNew , ContractsNewSaga ) ; yield takeEvery ( ContractsActions . ContractsRemove , ContractsRemoveSaga ) ; yield takeEvery ( ContractsActions . ContractsDeploy , ContractsDeploySaga ) ; yield takeEvery ( VtxconfigActions . VtxconfigResetSectionComplete , VtxconfigResetSectionCompleteSaga ) ; }