Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_system
call_message/4
Description
call_message/4 is an Erlang function exported by "age_system" module.
Sends synchronously a message to Target process prepared by particular function, also named as "functional call". The target process must handle this call by call_response/3.
References
•call_response/3
Parameters
Name
Type
Target
pid()
Valid process ID.
Function
function()
Valid function reference like module:fun/2. Do not provide a function name here - this is a reference!
Args
list()
List of function arguments. The size of the list should be equal to the function reference.
Timeout
integer()
Response timeout in milliseconds.
Result
Value or Type
any()
Code Sample
>