Conkie
Conkie copied to clipboard
On demand instruction
Add support for « on demand » instructions, for exemple to execute custom command once.
When you say 'on demand instructions' I assume you mean to execute some arbitrary code?
I'm guessing since this can already be done with JavaScript you mean to break out of the sandbox and run some command on the machine itself right?
For exemple for execute one command like "ls" or "uname" or anything else. It's can be a also a software.
It's just for not execute this instruction periodically.
Also needed for music controller.
Exemple :
I've one module test
(conkie module), and have one « on demand » function called hello
:
module.exports = {
hello: function () {
return 'Hello World';
},
register: function(finish, parentStats) {
parentStats.test = {};
parentStats.test.hello = hello;
finish();
},
};
I would like use something like this in client-side : scope.test.hello()