question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide VoidOutput for Fire&Forget command usage

See original GitHub issue

Bug Report

Current Behavior

The documentation lists several different response types that can be leveraged for the dynamic command feature and VoidOutput is one of them. However, VoidOutput cannot be used because it’s package private to io.lettuce.core.dynamic.output. All of the other outputs are public and live in io.lettuce.core.output.

Input Code

Input Code
final CommandOutput commandOutput = new VoidOutput(StringCodec.UTF8);

Expected behavior/code

New instances of VoidOutput may be created.

Environment

  • Lettuce version(s): 6.0.1.RELEASE
  • Redis version: N/A

Possible Solution

Move VoidOutput to io.lettuce.core.output and declare it as public.

Additional context

None

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mp911decommented, Nov 27, 2020

Thanks for the discussion, it was helpful to understand the use-case for VoidOutput. Happy to take this change from here.

0reactions
mp911decommented, Nov 27, 2020

Done.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Linux commands: du and the options you should be using
The du command is a standard Linux/Unix command that allows a user to gain disk usage information quickly. It is best applied to...
Read more >
.NET Core Web API — How to correctly Fire and Forget ...
NET Core Web API — How to correctly Fire and Forget Database Commands from Controller end point methods. Full source code for the...
Read more >
net - Simplest way to do a fire and forget method in C
I believe you'd have to use the first solution: Task.Factory.StartNew(() => FireAway(foo)); . – Patrick Szalapski. Jun 22, 2018 at 16:30.
Read more >
Document command-line syntax - Google Developers
Provide an inline link to the command reference. A good place for that link is in the text that introduces the command or...
Read more >
AWS Command Line Interface - Amazon AWS
The AWS Command Line Interface (AWS CLI) is a unified tool to manage your AWS services. With just one tool to download and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found