equal
deleted
inserted
replaced
40 |
40 |
41 documentation |
41 documentation |
42 " |
42 " |
43 When created, a promise will start to evaluate its block in the background, |
43 When created, a promise will start to evaluate its block in the background, |
44 and promise to deliver the value of this computation, when asked |
44 and promise to deliver the value of this computation, when asked |
45 for it via #value. Promises can be used for background computations, |
45 for it via #value. |
|
46 If an exception happens druing the block evaluate, |
|
47 it will be delivered to the value-consumer. |
|
48 |
|
49 Promises can be used for background computations, |
46 which automatically block the user of the result when that result is needed, |
50 which automatically block the user of the result when that result is needed, |
47 unless the computation finished in the meanwhile. |
51 unless the computation finished in the meanwhile. |
48 |
52 |
49 See also Block>>promise and Lazy/Future in libbasic2. |
53 See also Block>>promise and Lazy/Future in libbasic2. |
50 " |
54 " |