Table Of Contents

Previous topic

DelayedResult

Next topic

PreProcessChain

This Page

phoenix_title Handler

Bind some of the arguments and keyword arguments of a callable (‘listener’). Then when the Handler instance is called (e.g. handler(result, **kwargs)) the result is passed as first argument to callable, the kwargs is combined with those given at construction, and the args are those given at construction. Its return value is returned.


class_hierarchy Inheritance Diagram

Inheritance diagram for class Handler

Inheritance diagram of Handler


method_summary Methods Summary

__init__ Bind args and kwargs to listener.

api Class API



class Handler

Bind some of the arguments and keyword arguments of a callable (‘listener’). Then when the Handler instance is called (e.g. handler(result, **kwargs)) the result is passed as first argument to callable, the kwargs is combined with those given at construction, and the args are those given at construction. Its return value is returned.


Methods



__init__(self, listener, *args, **kwargs)

Bind args and kwargs to listener.