pyrio.decorators.handler

Attributes

TERMINAL_FUNCTIONS

Functions

pre_call(function_decorator)

Applies a function decorator to all callable methods

handle_consumed(func)

Prevents operations on consumed streams and auto-closes after terminal operations

Module Contents

pyrio.decorators.handler.TERMINAL_FUNCTIONS = ['for_each', 'reduce', 'count', 'min', 'max', 'sum', 'average', 'find_first', 'find_any',...
pyrio.decorators.handler.pre_call(function_decorator)

Applies a function decorator to all callable methods

pyrio.decorators.handler.handle_consumed(func)

Prevents operations on consumed streams and auto-closes after terminal operations