/block-sync

synchronously blocks a thread

Primary LanguageJavaScriptMIT LicenseMIT

block-sync

synchronously blocks a thread

usage:

import block from "block-sync";

block(100); // blocks for 100ms