From 952c0f386db1b32ac17b645f19543e5fe8191f8e Mon Sep 17 00:00:00 2001 From: Stefan Krulj Date: Tue, 16 Oct 2012 16:30:03 +0200 Subject: [PATCH] Small documentation change --- sys/brathuhn.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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]