Skip to content

Instantly share code, notes, and snippets.

@OleksivO OleksivO/post.js
Created Jan 16, 2019

Embed
What would you like to do?
the description for this gist
import {delay} from 'redux-saga';
import {put, call, takeEvery} from 'redux-saga/effects';
import axios from "axios";
import * as actions from '../actions/authorization'
export default function* watchAuthSaga() {
yield takeEvery('AUTH_USER', authUser);
yield takeEvery('AUTH_INITIATE_LOGOUT', logout);
yield takeEvery('AUTH_CHECK_TIMEOUT', checkAuthTimeout);
}
function* authUser(action) {...}
function* checkAuthTimeout(action) {...}
function* logout(action) {...}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.