protected function getStreamingWrapperCreator()
    {
        return function ($connection, $callback) {
            return function ($state, $response) use ($connection, $callback) {
                \call_user_func($callback, $response, $connection, null);
            };
        };
    }
protected function getStreamingWrapperCreator()
    {
        return function ($connection, $callback) {
            return function ($state, $response) use ($connection, $callback) {
                \call_user_func($callback, $response, $connection, null);
            };
        };
    }
protected function getStreamingWrapperCreator ( ) { return function ( $ connection , $ callback ) { return function ( $ state , $ response ) use ( $ connection , $ callback ) { \ call_user_func ( $ callback , $ response , $ connection , null ) ; } ; } ; }
Returns a wrapper to the user-provided callback used to handle response
chunks streamed by replies to commands such as MONITOR, SUBSCRIBE, etc.

@return mixed
Returns a wrapper to the user - provided callback used to handle response chunks streamed by replies to commands such as MONITOR SUBSCRIBE etc .