Plasma GitLab Archive
Projects Blog Knowledge

Class type Hydro_lm.call_suspension_t


class type ['a] call_suspension_t = object .. end
This is an object describing a prepared RPC call that is not yet done. It provides methods to trigger the call. The class type parameter is later instantiated by the concrete response type used in the language mapping.

method scall : 'a
Do the RPC call synchronously. Note that this implies a Unixqueue.run of the event system of the proxy environment
method acall : ('a -> unit) -> unit
Do the RPC call asynchronously. The callback function is invoked when the response arrives. Note that this function does nothing unless the user calls Unixqueue.run afterwards.
method params : Hydro_types.call_params
Get the call parameters
method with_params : Hydro_types.call_params -> 'a call_suspension_t
Get a new call suspension with updated call parameters
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml