API¶
ziffect¶
The ziffect module.
-
ziffect.
interface
(wrapped_class)[source]¶ Class decorator to wrap ziffect interfaces.
Parameters: wrapped_class – The class to wrap. Returns: The newly created wrapped class.
-
ziffect.
effects
(interface)[source]¶ Method to get an object that implements interface by just returning effects for each method call.
Parameters: interface – The interface for which to create a provider. Returns: A class with method names equal to the method names of the interface. Each method on this class will generate an Effect for use with the Effect library.