Implement usage of the new Tailscale channel library.

This commit is contained in:
2023-03-26 21:21:04 -07:00
parent 02a5d02dad
commit 2262ceb1d1
5 changed files with 13 additions and 39 deletions

View File

@ -2,6 +2,6 @@ package gay.pizza.foundation.core.features.persist
import jetbrains.exodus.entitystore.Entity
fun <T : Comparable<*>> Entity.setAllProperties(vararg entries: Pair<String, T>) = entries.forEach { entry ->
fun <T : Comparable<*>> Entity.setAllProperties(vararg entries: Pair<String, T>): Unit = entries.forEach { entry ->
setProperty(entry.first, entry.second)
}