Example #1
0
        internal Task InitializeChannelsAsync()
        {
            string workerId = Guid.NewGuid().ToString();

            _languageWorkerChannel = new LanguageWorkerChannel(workerId, _eventManager, _rpcServer.CSharpUri);
            _functionDispatcher.AddWorkerChannel(_languageWorkerChannel);
            return(Task.CompletedTask);
        }
Example #2
0
 public void AddWorkerChannel(LanguageWorkerChannel workerChannel)
 {
     _workerChannels.Add(workerChannel);
 }