We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
发生异常: panic "unreachable: should never occur socket.requestChannelCallback!"
rsocket.RequestChannel(func(remote flux.Flux) flux.Flux { var sub rx.Subscription remote.Subscribe( context.Background(), rx.OnSubscribe(func(ctx context.Context, s rx.Subscription) { sub = s sub.Request(1) }), rx.OnComplete(func() { print() }), rx.OnError(func(e error) { print() }), rx.OnNext(func(input payload.Payload) error { sub.Cancel() //for some reason,i don't want continue return nil }), ) return flux.Create(func(ctx context.Context, s flux.Sink) {}) }),
switch vv := v.(type) { case requestResponseCallbackReverse: vv.su.Cancel() case requestStreamCallbackReverse: vv.su.Cancel() case requestChannelCallback: vv.snd.Cancel() //should i? case respondChannelCallback: vv.snd.Cancel() default: panic(fmt.Sprintf("unreachable: should never occur %T!", vv)) }
netty
javar -version
node --version
uname -a
The text was updated successfully, but these errors were encountered:
i'm sorry , rsocket.RequestChannel is part of the responder in server side. and bug occure in the client side
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
Actual Behavior
发生异常: panic
"unreachable: should never occur socket.requestChannelCallback!"
Steps to Reproduce
Possible Solution
Your Environment
netty
, ...):javar -version
) or Node version (node --version
)):uname -a
):The text was updated successfully, but these errors were encountered: