3 importJava "java.util.concurrent.TimeUnit" where
5 NANOSECONDS :: TimeUnit
6 MICROSECONDS :: TimeUnit
7 MILLISECONDS :: TimeUnit
12 importJava "org.simantics.scl.runtime.utils.AsyncUtils" where
13 runAsync :: (<Proc> a) -> <Proc> ()
14 pmap :: (a -> <Proc> b) -> [a] -> <Proc> [b]
16 scheduleAtFixedRate :: (<Proc> a) -> Long -> Long -> TimeUnit -> <Proc> Future a
17 scheduleWithFixedDelay :: (<Proc> a) -> Long -> Long -> TimeUnit -> <Proc> Future a
18 schedule :: (<Proc> a) -> Long -> TimeUnit -> <Proc> Future a