Ejemplo n.º 1
0
        public async Task <CoroutineContainer> QueryByName(string name)
        {
            CoroutineContainer container = new CoroutineContainer()
            {
                Name = name
            };

            return(await Task.FromResult(container));
        }
Ejemplo n.º 2
0
 public async Task ApplyAction(CoroutineContainer container, Func <IEnumerator <Task> > action)
 {
     var service = GetService(container.Name);
     await service.ApplyAction(action);
 }
Ejemplo n.º 3
0
 public async Task Run(CoroutineContainer container)
 {
     var service = GetService(container.Name);
     await service.Run();
 }