pancy
1 min readAug 4, 2017

--

Hi, of course you should learn goroutines and channels first. However, I found using them very involved and I wrote rxgo because I wanted a more abstract and declarative way of dealing with reactive streams. I tried to develop the extension so it integrates seamlessly with conventional go code, and that means diverting away from reactiveX conventions here and there. For instance, a call to Subscribe returns a channel:

s := myObservable.Subscribe(myObserver)
<-s

Hope this helps.

--

--

pancy
pancy

Written by pancy

I’m interested in Web3 and machine learning, and helping ambitious people. I like programming in Ocaml and Rust. I angel invest sometimes.

Responses (1)