Skip to main content
Deno.flockSync - Deno documentation
function Deno.flockSync
Unstable
flockSync(
rid: number,
exclusive?: boolean,
): void

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

Parameters

rid: number
optional
exclusive: boolean = false

Return Type

void