CallAfter

CallAfter(function, time=1, arg=None)

Calls a Python function after a given time.

Parent class : PyoObject

Parameters:

    function : Python function
    time : float, optional
        Time, in seconds, before the call. Default to 1.
    arg : any Python object, optional
        Argument sent to the called function. Default to None.

Notes:

    The out() method is bypassed. CallAfter doesn't return signal.
    
    CallAfter has no `mul` and `add` attributes.
    
    The object is not deleted after the call. The User must delete it himself.

Examples:

    >>> s = Server().boot()
    >>> s.start()
    >>> print "just started"
    >>> def callback(arg):
    ...     print arg
    ...
    >>> a = CallAfter(callback, 2, "YEP!")