[orx-envelopes] Add trigger id and object functions
This commit is contained in:
7
orx-envelopes/src/jvmMain/kotlin/MPPSynchronize.kt
Normal file
7
orx-envelopes/src/jvmMain/kotlin/MPPSynchronize.kt
Normal file
@@ -0,0 +1,7 @@
|
||||
package org.openrndr.extra.envelopes
|
||||
|
||||
actual fun <V> mppSynchronized(lock: Any, f: () -> V): V {
|
||||
return synchronized(lock) {
|
||||
f()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user