Callable script container
- Source:
Members
(inner, constant) SCRIPT_OBJECT_ERROR
- Source:
Methods
(inner) call(method)
Is used for long jobs, don't expect an answer
Parameters:
Name | Type | Description |
---|---|---|
method |
String | method |
...args |
arguments |
- Source:
Example
ipc.send('call', 'method', args...)
(inner) get(key, method)
Like Call but we send data back The parent process listens on the uniqueid-event
Parameters:
Name | Type | Description |
---|---|---|
key |
String | key |
method |
String | key |
...args |
arguments |
- Source:
Example
ipc.send('get', 'uniqueid-event', 'info')