mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
20 lines
No EOL
363 B
JavaScript
Executable file
20 lines
No EOL
363 B
JavaScript
Executable file
define([
|
|
],
|
|
|
|
function() {
|
|
|
|
function CoordinatorLink(process) {
|
|
this.process = process;
|
|
}
|
|
|
|
CoordinatorLink.prototype.send = function(message) {
|
|
this.process.send(message);
|
|
};
|
|
|
|
CoordinatorLink.prototype.receive = function(message) {
|
|
throw 'This method is abstract and must be overwritten by Channel';
|
|
};
|
|
|
|
return CoordinatorLink;
|
|
|
|
}); |