All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.caesarealabs.rpc4k.runtime.api.PortPool.kt Maven / Gradle / Ivy

The newest version!
package com.caesarealabs.rpc4k.runtime.api

import kotlinx.atomicfu.atomic

public object PortPool {
    private val current = atomic(8080)

    public fun get(): Int  = current.getAndIncrement()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy