Next: , Previous: , Up: Objects   [Contents]


5.1.2 Synchronous invocation

To synchronously invoke two objects within the same vat / actormap, use $:

($ near-object args ...)
;=> something

Provide a synchronous call against the current message handler of NEAR-REFR, which must be a near live-refr? in the same vat as the currently running actor context. The value returned is that which is returned by the current behavior of NEAR-REFR upon invocation (or, if NEAR-REFR chose to bcom something else, the second argument passed to its bcom, or is unspecified? if not provided.)