Example #1
0
        static public AsyerManager GetInstance()
        {
            if (INSTANCE == null)
            {
                INSTANCE = new AsyerManager();
            }

            return(INSTANCE);
        }
Example #2
0
 public void Use(Process process)
 {
     AsyerManager.GetInstance().Use(this, process);
 }
Example #3
0
 static public async Task ForUpdate()
 {
     await AsyerManager.GetInstance().GetActiveAsyncer().ForUpdate();
 }
Example #4
0
 static public async Task ForAny(IEnumerable <Task> tasks)
 {
     await AsyerManager.GetInstance().GetActiveAsyncer().ForAny(tasks);
 }
Example #5
0
 static public async Task <T> ForAny <T>(IEnumerable <Task <T> > tasks)
 {
     return(await AsyerManager.GetInstance().GetActiveAsyncer().ForAny(tasks));
 }
Example #6
0
 static public async Task ForTemporal(TemporalDuration temporal)
 {
     await AsyerManager.GetInstance().GetActiveAsyncer().ForTemporal(temporal);
 }
Example #7
0
 static public async Task ForCondition(Predicate predicate)
 {
     await AsyerManager.GetInstance().GetActiveAsyncer().ForCondition(predicate);
 }