Skip to content

Conversation

clue
Copy link
Owner

@clue clue commented Dec 28, 2024

This changeset adds a new public callAsync() method to the RedisClient. Some static analysis tools may not understand the magic __call() method, so you may now use the new callAsync() method as a more explicit alternative.

// old (still supported)
$redis->get('name');

// new
$redis->callAsync('GET', 'name');

On top of this, this is also a prerequisite for adding a blocking API using Fibers on PHP 8.1+ in a follow-up PR.

Builds on top of #140, #141, #129, #127 and others
Refs #118

@clue clue added this to the v3.0.0 milestone Dec 28, 2024
@clue clue merged commit 652d56e into clue:3.x Dec 28, 2024
18 checks passed
@clue clue deleted the callasync branch December 28, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant