Skip to main content
function Deno.flockSync
Unstable

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

Parameters

rid: number
optional
exclusive: boolean