Immediate call

From Erights

Jump to: navigation, search

An immediate call, or call, is the operation in E which corresponds to the “method call”, “function call”, or sometimes “message send” of other object-oriented systems.

In E, an immediate call can only be performed on a near reference, and it always returns "immediately" — within the same turn, without waiting or blocking — as opposed to the eventual send.

The E-language syntax for a call is

recipient.verb(arg, arg, ...)

where recipient and arg are expressions and verb is an identifier or string literal.

Dynamic calls of arbitrary verb and argument count can be performed with E.call.

See also

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