'Set up the ticker
Args:
interval (int): The stepping interval.'

def __init__(self, interval):

    self.interval = interval
    self.subscriptions = {}
    self._is_ticking = False
    self._to_remove = []
    self._to_add = []
    self.task = ExtendedLoopingCall(self._callback)
