Beispiel #1
0
 public string attach_to_default_timer(string uid, Action <PythonDictionary> callback, object state = null)
 {
     return(_schedulerService.AttachToDefaultTimer(uid, p =>
     {
         var pythonDictionary = PythonConvert.ToPythonDictionary(p);
         pythonDictionary["timer_uid"] = uid;
         callback(pythonDictionary);
     }, state));
 }
Beispiel #2
0
 public string attach_to_default_timer(string uid, Action <PythonDictionary> callback, object state = null)
 {
     return(_schedulerService.AttachToDefaultTimer(uid, p => callback(PythonConvert.ToPythonDictionary(p)), state));
 }