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)); }
public string attach_to_default_timer(string uid, Action <PythonDictionary> callback, object state = null) { return(_schedulerService.AttachToDefaultTimer(uid, p => callback(PythonConvert.ToPythonDictionary(p)), state)); }