You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest version is [](https://maven-badges.herokuapp.com/maven-central/io.github.alexarchambault.libdaemon/libdaemon).
52
+
The latest version is [](https://maven-badges.herokuapp.com/maven-central/io.github.alexarchambault.libdaemon/libdaemon_3).
53
53
54
54
From the server, call `Lock.tryAcquire`, and start accepting connections on the server socket in the thunk passed to it:
55
55
```scala
@@ -58,11 +58,16 @@ import java.nio.file._
58
58
59
59
valdaemonDirectory:Path=???// pass a directory under the user home dir, computed with directories-jvm for example
60
60
vallockFiles=LockFiles.under(daemonDirectory, "my-app-name\\daemon") // second argument is the Windows named pipe path (that doesn't live in the file system)
0 commit comments