Redis – node.js router – how to access router.post to stop future code execution?
User is lazy, don't want to wait for data and quit the page. How I can access router.post to stop further code execution? APP.JS FILE (backend): var express = require('express'); var expressSession = require('express-session'); var redis = require('redis'); var connectRedis…