(self, interval, event, *channels, **kwargs)
:param interval: the delay or interval to wait for until
                         the event is fired. If interval is specified as
                         datetime, the interval is recalculated as the
                         time span from now to the given datetime.
        :type interval:  ``datetime`` or number of seconds as a ``float``

        :param event:    the event to fire.
        :type event:     :class:`~.events.Event`

        :param persist:  An optional keyword argument which if ``True``
                         will cause the event to be fired repeatedly
                         once per configured interval until the timer
                         is unregistered. **Default:** ``False``
        :type persist:   ``bool``
:param interval: the delay or interval to wait for until
                         the event is fired. If interval is specified as
                         datetime, the interval is recalculated as the
                         time span from now to the given datetime.
        :type interval:  ``datetime`` or number of seconds as a ``float``
: param interval : the delay or interval to wait for until the event is fired . If interval is specified as datetime the interval is recalculated as the time span from now to the given datetime . : type interval : datetime or number of seconds as a float
def __init__(self, interval, event, *channels, **kwargs):
        """
        :param interval: the delay or interval to wait for until
                         the event is fired. If interval is specified as
                         datetime, the interval is recalculated as the
                         time span from now to the given datetime.
        :type interval:  ``datetime`` or number of seconds as a ``float``

        :param event:    the event to fire.
        :type event:     :class:`~.events.Event`

        :param persist:  An optional keyword argument which if ``True``
                         will cause the event to be fired repeatedly
                         once per configured interval until the timer
                         is unregistered. **Default:** ``False``
        :type persist:   ``bool``
        """

        super(Timer, self).__init__()

        self.expiry = None
        self.interval = None
        self.event = event
        self.channels = channels
        self.persist = kwargs.get("persist", False)

        self.reset(interval)
def __init__ ( self , interval , event , * channels , * * kwargs ) : super ( Timer , self ) . __init__ ( ) self . expiry = None self . interval = None self . event = event self . channels = channels self . persist = kwargs . get ( "persist" , False ) self . reset ( interval )