Skip to content

Getting an integer return from REDIS::publish() #14

@seungjin

Description

@seungjin

https://github.com/fermyon/spin-rust-sdk/blob/1e9cc89ee7309e477d20bcfe0af730e687934695/wit/redis.wit#L19
Currently .publish returns Result<(), Error>.
But if this can return an integer value instead of () would be better like redis-cli.
redis-cli returns an integer how many nodes get the published msg.

This is an enhancement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions