Object Ref

From Erights

(Difference between revisions)
Jump to: navigation, search
(stub, note missing tests)
(add some msgdoc)
Line 5: Line 5:
== Protocol ==
== Protocol ==
-
{{XXX}} specify and test behavior
+
{{XXX|completely specify and test behavior}}
-
[[Category:Incomplete specifications]]
+
 +
{{instance msgdoc|promise|0||[[Tuple]]<nowiki>[</nowiki>[[Promise]], [[LocalResolver]]]}}
 +
 +
{{unspecified message}}
 +
 +
{{instance msgdoc|broken|1|<var>problem</var> :[[Exception]]| :[[broken]]}}
 +
 +
{{unspecified message}}
 +
 +
# Regression test
 +
? Ref.broken(null)
 +
# problem: <NullPointerException: Missing problem>
 +
 +
[[Category:Incomplete specifications]]
{{stub}}
{{stub}}
[[Category:ELib specification]]
[[Category:ELib specification]]

Revision as of 22:00, 14 May 2009

Ref is an object available in the universal environment which provides the basic operations on refs other than call and send.

? Ref
# value: Ref

Protocol

XXX completely specify and test behavior

promise/0

Signature: promise() :Tuple[Promise, LocalResolver]

The specification for this message has not been written.

broken/1

Signature: broken(problem :Exception) : :broken

The specification for this message has not been written.

# Regression test
? Ref.broken(null)
# problem: <NullPointerException: Missing problem>
This page is a stub; it should be expanded with more information. If doing so, check the original E web site and the mailing list archives for content which could be moved into this page.
Personal tools
more tools