Skip to content

Comment sagas files #6

@Aarbel

Description

@Aarbel

https://github.com/kuy/redux-saga-chat-example/blob/master/src/client/sagas.js

Hi @kuy, thanks a lot for this example !

Few parts are quite confusing :

function* read(socket, me) {
    const channel = yield call(subscribe, socket, me);
	
    while (true) {
		// Give examples to understand better the use of redux-saga channels
		// It's never triggered for me
        const action = yield take(channel);
        yield put(action);
    }
}

Thanks a lot for your help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions