]> gerrit.simantics Code Review - simantics/platform.git/blob - scl/Future.scl
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / scl / Future.scl
1 importJava "java.util.concurrent.Future" where
2     data Future a
3     
4     @JavaName get
5     getFutureResult :: Future a -> <Proc, Exception> a
6     @JavaName cancel
7     cancelFuture :: Future a -> Boolean -> <Proc> Boolean
8     @JavaName isCancelled
9     isFutureCancelled :: Future a -> <Proc> Boolean
10     @JavaName isDone
11     isFutureDone :: Future a -> <Proc> Boolean