Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Deno.flockSync

UNSTABLE: New API should be tested first.

Acquire an advisory file-system lock for the provided file. exclusive defaults to false.

function flockSync(rid: number, exclusive?: boolean): void;
§
flockSync(rid: number, exclusive?: boolean): void
[src]

§Parameters

§
rid: number
[src]
§
exclusive?: boolean optional
[src]

§Return Type