tarlatan
    Preparing search index...

    Variable tryLockConst

    tryLock: (
        path: string,
    ) => Effect.Effect<void, LockHeld | ProjectLogError, Scope.Scope> = ...

    Takes the project lock at path for the scope, or fails at once with LockHeld when another holder has it. The lock is released when the scope ends or the process dies.

    Type Declaration