public async Task StartAsync(CancellationToken cancellationToken) { await _registry.Messaging.Compiling; await _registry.HttpRoutes.BuildRouting(_container, _registry.CodeGeneration); _root.Activate(_registry.Messaging.LocalWorker, _registry.CodeGeneration, _container); }
public Task StartAsync(CancellationToken cancellationToken) { var messaging = _runtime.Registry.Messaging; return(_root.Activate(messaging.LocalWorker, messaging.Capabilities, _runtime, _runtime.Registry.CodeGeneration, new PerfTimer())); }
public async Task StartAsync(CancellationToken cancellationToken) { try { await _registry.Messaging.Compiling; _root.Activate(_registry.Messaging.LocalWorker, _registry.CodeGeneration, _container); } catch (Exception e) { _root.Logger.LogException(e); throw; } }