Source

callchain / callchain / linked / activeauto.py

# -*- coding: utf-8 -*-
'''active auto-balancing linked chains'''

from appspace import key
from twoq.active import AutoResultMixin
from callchain.linked.keys import KLinked, KEventLinked
from callchain.linked.core import EventLinked, PriorityLinked, ChainLinked


@key(KLinked)
class chainlink(ChainLinked, AutoResultMixin):

    '''linked chain'''


@key(KLinked)
class prioritylink(PriorityLinked, AutoResultMixin):

    '''priority linked chain'''


@key(KEventLinked)
class eventlink(EventLinked, AutoResultMixin):

    '''lite linked event chain'''