Phoenix Logo

phoenix_title wx.lib.delayedresult.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 Class Hierarchy

Inheritance diagram for class 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.