Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
function Deno.flockSync
Unstable

Acquire an advisory file-system lock synchronously for the provided file.

Parameters

rid: number
optional
exclusive: boolean