import "Future" importJava "java.util.concurrent.TimeUnit" where data TimeUnit NANOSECONDS :: TimeUnit MICROSECONDS :: TimeUnit MILLISECONDS :: TimeUnit SECONDS :: TimeUnit HOURS :: TimeUnit DAYS :: TimeUnit importJava "org.simantics.scl.runtime.utils.AsyncUtils" where runAsync :: ( a) -> () pmap :: (a -> b) -> [a] -> [b] scheduleAtFixedRate :: ( a) -> Long -> Long -> TimeUnit -> Future a scheduleWithFixedDelay :: ( a) -> Long -> Long -> TimeUnit -> Future a schedule :: ( a) -> Long -> TimeUnit -> Future a