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

commonMain.com.caesarealabs.rpc4k.runtime.platform.ConcurrentCollections.kt Maven / Gradle / Ivy

There is a newer version: 0.13.0
Show newest version
package com.caesarealabs.rpc4k.runtime.platform

/**
 * Creates a [MutableMap] that is safe to edit in multiple threads at the same time
 */
public expect fun  ConcurrentMutableMap(): MutableMap
/**
 * Creates a [MutableCollection] that is safe to edit in multiple threads at the same time.
 * This is intended to be used as a queue because the most performant implementation is a queue. (In regards to time complexity)
 */
public expect fun  ConcurrentQueue(): MutableCollection




© 2015 - 2024 Weber Informatics LLC | Privacy Policy