public async Task <CoroutineContainer> QueryByName(string name)
        {
            CoroutineContainer container = new CoroutineContainer()
            {
                Name = name
            };

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