towhee.utils.handler_mixinΒΆ

Classes

HandlerMixin

This mixin creates handler management interfaces :param handler_prefix: (str) HandlerMixin will create a set of handler management interfaces based on each handler_prefix. For instance, given a handler_prefix`='task_finish', there will be two methods that are generated, `add_task_finish_handler and call_task_finish_handlers.