function* check(chan, requestId) {
	let ackRequestId;
	do {
		ackRequestId = yield take(chan);
	} while (ackRequestId !== requestId);

	return true;
}
/**
 * this function will wait for the ack to be filled.
 * @param {Object} channel redux-saga channel instance
 * @param {string} requestId the requestId to check in the channel
 */
this function will wait for the ack to be filled.
@param {Object} channel redux-saga channel instance
@param {string} requestId the requestId to check in the channel
this function will wait for the ack to be filled . @param { Object } channel redux - saga channel instance @param { string } requestId the requestId to check in the channel
function* check(chan, requestId) {
	let ackRequestId;
	do {
		ackRequestId = yield take(chan);
	} while (ackRequestId !== requestId);
	return true;
}
function * check ( chan , requestId ) { let ackRequestId ; do { ackRequestId = yield take ( chan ) ; } while ( ackRequestId !== requestId ) ; return true ; }
this function will wait for the ack to be filled.
this function will wait for the ack to be filled .