rename dispathcer

This commit is contained in:
Martin Karkowski 2020-08-23 09:18:11 +02:00
parent 6b4c6c1eed
commit 0bd161fe9b

View File

@ -31,7 +31,7 @@ type responseOfTask = {
/**
* A Dispatcher to perform a function with a remote
*/
export class CallDispatcher {
export class nopeDispatcher {
protected _definedFunctions: Map<number | string, (...args) => Promise<any>>;
protected _runningTasks: Map<number, {
@ -282,8 +282,8 @@ export function getDispatcher(uuid: string, communicator: ICommunicationInterfac
const _hasDispatcher = _global[_accessor] !== undefined;
if (!_hasDispatcher){
_global[_accessor] = new CallDispatcher(communicator);
_global[_accessor] = new nopeDispatcher(communicator);
}
return _global[_accessor] as CallDispatcher
return _global[_accessor] as nopeDispatcher
}