Deno.flock
UNSTABLE: New API, yet to be vetted.
Acquire an advisory file-system lock for the provided file.
function flock(rid: number, exclusive?: boolean): Promise<void>;
UNSTABLE: New API, yet to be vetted.
Acquire an advisory file-system lock for the provided file.