(callback, callback_time, asynchronous=False, **kwargs)
return Stream.from_periodic(callback, callback_time, asynchronous=asynchronous)
For backward compatibility - please use Stream.from_periodic
For backward compatibility - please use Stream.from_periodic
For backward compatibility - please use Stream . from_periodic
def PeriodicCallback(callback, callback_time, asynchronous=False, **kwargs):  # pragma: no cover
    """For backward compatibility - please use Stream.from_periodic"""
    if kwargs:
        callback = lambda: callback(**kwargs)
    return Stream.from_periodic(callback, callback_time, asynchronous=asynchronous)
def PeriodicCallback ( callback , callback_time , asynchronous = False , * * kwargs ) : # pragma: no cover if kwargs : callback = lambda : callback ( * * kwargs ) return Stream . from_periodic ( callback , callback_time , asynchronous = asynchronous )