Source

callchain / callchain / linked / lazyman.py

Full commit
# -*- coding: utf-8 -*-
'''lazy manually balanced linked chains'''

from appspace import key
from twoq.lazy import ManResultMixin
from callchain.linked.keys import KLinkedResult
from callchain.linked.core import EventLinked, PriorityLinked, ChainLinked


@key(KLinkedResult)
class chainlink(ChainLinked, ManResultMixin):

    '''linked chain'''


@key(KLinkedResult)
class prioritylink(PriorityLinked, ManResultMixin):

    '''priority linked chain'''


@key(KLinkedResult)
class eventlink(EventLinked, ManResultMixin):

    '''lite linked event chain'''