buha.js

Browser based Strictly ordered Task Queue for Sync/Async Javascript Functions

Use this page as documentation

buha.js is written in pure javascript and it weights around 1kb

const buhaRunner = buha ();

buhaRunner . push (() => { setTimeout ({ console . log ( "Hello world" )}, 100 )});



buhaRunner . push ( done => setTimeout ( _ => { console . log ( "Hello world" )}, 100 ));



Pushing sync task