wrapyfi icon indicating copy to clipboard operation
wrapyfi copied to clipboard

Support wrapping for module functions

Open fabawi opened this issue 4 years ago • 0 comments

Wrapify restricts the decorator to methods defined within classes. There are no technical limitations as to why this isn't possible. However, Wrapify maintains the properties for each class independently, to avoid clashes in naming conventions and triggering multiple instances within the module. This is especially problematic since the publisher ports would clash with other triggering calls. We can resolve this issue by spawning a MiddlewareCommunicator for the module itself.

fabawi avatar Aug 16 '21 09:08 fabawi