diff --git a/sys/brathuhn.py b/sys/brathuhn.py index b3ae60d..24868b5 100644 --- a/sys/brathuhn.py +++ b/sys/brathuhn.py @@ -302,9 +302,12 @@ def callAt(func,_time,*args): guaranteed that it will happen after the specified time. The call happens in the same thread, so no synchronization is needed. You can append any number of arguments you need. Returns the call id, needed to cancel a call - + + E.g this will call foo(arg1,arg2) in ~5 seconds + brathuhn.callAt(foo,time.time()+5,arg1,arg2) + @param func -- Function to be called - @param time -- Message body""" + @param time -- The time when the message will be called""" global call_ats global call_ats_id call_ats[call_ats_id]=[func,_time,args]