pyspeedup/concurrent/_buffer.py
def buffer(buffersize=16,haltCondition=uniformlyNonDecreasing):
    '''A decorator to create a concurrently buffered generator.

    Used with ``@buffer([buffersize,[haltCondition]])`` as described in :class:`~pyspeedup.concurrent.Buffer`'s documentation.
    '''
    def decorator(f):
        return Buffer(f,buffersize,haltCondition)
    return decorator
A decorator to create a concurrently buffered generator.

    Used with ``@buffer([buffersize,[haltCondition]])`` as described in :class:`~pyspeedup.concurrent.Buffer`'s documentation.
    
A decorator to create a concurrently buffered generator.
A decorator to create a concurrently buffered generator .
def buffer(buffersize=16,haltCondition=uniformlyNonDecreasing):
    def decorator(f):
        return Buffer(f,buffersize,haltCondition)
    return decorator
def buffer ( buffersize = 16 , haltCondition = uniformlyNonDecreasing ) : def decorator ( f ) : return Buffer ( f , buffersize , haltCondition ) return decorator
A decorator to create a concurrently buffered generator.
A decorator to create a concurrently buffered generator .
'''A decorator to create a concurrently buffered generator.

    Used with ``@buffer([buffersize,[haltCondition]])`` as described in :class:`~pyspeedup.concurrent.Buffer`'s documentation.
    '''
buffersize
haltCondition