Source

callchain / callchain / linked / keys.py

Full commit
# -*- coding: utf-8 -*-
'''callchain contrib keys'''

from callchain.key.base import KConfig
from callchain.key.queue import KResult
from callchain.key.mixin import KCall, KChain, KBranch, KEventCall, KEvent


class KLinked(KBranch, KConfig, KCall, KChain, KResult):

    '''linked chain with results key'''

    def close():  # @NoSelf
        '''close out linked chain and switch to root chain'''


class KEventLinked(KBranch, KConfig, KEventCall, KEvent, KResult):

    '''linked event chain with results key'''