Skip to content

Rename Function Lambda parameter to match command interface in (Default) ReactiveXxxOperations #2658

Closed
@jxblum

Description

@jxblum

In all (Default) ReactiveXxxOperation interfaces used by ReactiveRedisTemplate, the (Redis) operation methods refer to their corresponding command interface as "connection" when passing the Function Lambda to the createMono(:Function<..>, Publisher<T>) or createFlux(:Function<..>, Publisher<T>) methods, which is not technically accurate, and confusing.

The Function Lambda expects an instance of reactive commands (e.g. ReactiveSetCommands in the (Default) ReactiveSetOperations interface), which is obtained from the ReactiveRedisConnection.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core supporttype: taskA general task

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions