diff options
author | Aaron Bedra <aaron@aaronbedra.com> | 2010-12-03 12:02:21 -0500 |
---|---|---|
committer | Stuart Halloway <stu@thinkrelevance.com> | 2010-12-08 16:44:11 -0500 |
commit | 0bb16f46d23fa68137e286d2ccd32be3549df5ad (patch) | |
tree | 1f44f6fa83252bea2a021fdf8a8bd23647367a22 /src/jvm | |
parent | b6da33b676e450e6b7dc0de75b5c4376fa781378 (diff) |
Prevent promises from blocking on print. Fixes #680
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Diffstat (limited to 'src/jvm')
-rw-r--r-- | src/jvm/clojure/lang/IPromiseImpl.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/jvm/clojure/lang/IPromiseImpl.java b/src/jvm/clojure/lang/IPromiseImpl.java new file mode 100644 index 00000000..686e4389 --- /dev/null +++ b/src/jvm/clojure/lang/IPromiseImpl.java @@ -0,0 +1,15 @@ +/** + * Copyright (c) Rich Hickey. All rights reserved. + * The use and distribution terms for this software are covered by the + * Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) + * which can be found in the file epl-v10.html at the root of this distribution. + * By using this software in any fashion, you are agreeing to be bound by + * the terms of this license. + * You must not remove this notice, or any other, from this software. + **/ + +package clojure.lang; + +public interface IPromiseImpl { + boolean hasValue(); +} |