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
f = cli.client.RequestStream(payload.New(req.Bytes(), context.Marshal(c)))
cc, cancel := context.WithTimeout(context.TODO(), timeout)
f. SubscribeOn(scheduler.Parallel()). DoFinally(func(s rx.SignalType) { //todo handler rx.SignalType cancel() close(rsp) close(errs) }). Subscribe( cc, rx.OnNext(func(p payload.Payload) error { rsp <- payload.Clone(p).Data() return nil }), rx.OnError(func(e error) { errs <- e }), )
The text was updated successfully, but these errors were encountered:
Sorry for the late reply, I will check the timeout logic once I have time.
Sorry, something went wrong.
The current Flux Processor doesn't support Context API, it will be supported in the near future.
Flux Processor
No branches or pull requests
f = cli.client.RequestStream(payload.New(req.Bytes(), context.Marshal(c)))
cc, cancel := context.WithTimeout(context.TODO(), timeout)
f.
SubscribeOn(scheduler.Parallel()).
DoFinally(func(s rx.SignalType) {
//todo handler rx.SignalType
cancel()
close(rsp)
close(errs)
}).
Subscribe(
cc,
rx.OnNext(func(p payload.Payload) error {
rsp <- payload.Clone(p).Data()
return nil
}),
rx.OnError(func(e error) {
errs <- e
}),
)
The text was updated successfully, but these errors were encountered: