How to use the throttle function from underscore

Find comprehensive JavaScript underscore.throttle code examples handpicked from public code repositorys.

66
67
68
69
70
71
72
73
74
75
76
77
78
const checkPositionForNotify = require('../app-actions/check-positions-for-notify');


// const RealtimeRunner = ;




const scheduleLiquidate = throttle(async (ticker) => {
    await log(`smallNeedToLiquidate ${ticker}`);
    liquidateTicker(ticker);
}, 1000 * 30);

fork icon0
star icon0
watch icon1

+ 17 other calls in file