h4nyu / lockfile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lockfile

import { Lock } from "@oniku/lockfile";

const lock = Lock({ dir: "/tmp" });

const res = await lock.auto(async () => {
  // do or return something
});

About


Languages

Language:TypeScript 87.0%Language:JavaScript 13.0%