Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.unstable.d.ts>Deno.funlock

A modern runtime for JavaScript and TypeScript.
Go to Latest
function Deno.funlock
import { Deno } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.deno.unstable.d.ts";
const { funlock } = Deno;

UNSTABLE: New API, yet to be vetted.

Release an advisory file-system lock for the provided file.

Parameters

rid: number

Returns

Promise<void>