• Nathan Harris's avatar
    Rename `RedisCommandContext` to `RedisCommand`, improve `RedisCommandHandler`... · 5fb0bfca
    Nathan Harris authored
    Rename `RedisCommandContext` to `RedisCommand`, improve `RedisCommandHandler` usage semantics, and cleanup documentation.
    
    Motivation:
    
    During proposal review, it was noted that `RedisCommandContext` was a bit misleading, and the hidden reference semantics worrisome.
    
    In addition, several of parts of the documentation around `RedisCommandHandler` were weak or also misleading.
    
    Modifications:
    
    - Rename `RedisCommandContext` to just `RedisCommand`
    - Update documentation to be more explicit about the module who owns the types being referenced
    - Update documentation to call out explicit usage semantics and behavior
    - Change `RedisCommandHandler` to close the socket connection on error thrown
    - Rename the "base" Redis Channel Handlers to be more explicitly named
    
    Result:
    
    Users should have clearer documentation on what happens when using `RedisCommandHandler` and `RedisCommand` without hidden semantics.
    
    This contributes to issue #47.
    5fb0bfca
Name
Last commit
Last update
Sources/RedisNIO Loading commit data...
Tests Loading commit data...
docs/theme Loading commit data...
scripts Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS.txt Loading commit data...
LICENSE.txt Loading commit data...
NOTICE.txt Loading commit data...
Package.swift Loading commit data...
README.md Loading commit data...