Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/async/mod.ts>Condition#locked

🦕 Asynchronous primitive modules loosely port from Python's asyncio for Deno.
Go to Latest
method Condition.prototype.locked
Re-export
import { Condition } from "https://deno.land/x/async@v1.1.5/mod.ts";

Return true if the underlying lock is acquired.

Returns

boolean