Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
method Deno.FsFile.prototype.lock

Acquire an advisory file-system lock for the file.

Parameters

optional
exclusive: boolean

Returns

Promise<void>