I don't need something socket based. It's just to exchange messages between same thread, same process.
Here is an example API Define signal stop_modified = Signal() Emit signal emit(stop_modified, args) Define slot function slot_on_stop_modified(args) println("stop was modified o $args") end Connect slot to signal connect(stop_modified, slot_on_stop_modified) A signal can be emit without being consumed Several slots can be connected to a Signal. Maybe it's possible to do this on top of Reactive.jl (or to write something simpler just for this purpose) Kind regards Le lundi 30 mai 2016 01:45:12 UTC+2, Jacob Quinn a écrit : > > ZMQ.jl? Or maybe you don't need something socket based. > > -Jacob > > On Sun, May 29, 2016 at 1:25 PM, Femto Trader <femto....@gmail.com > <javascript:>> wrote: > >> Hello, >> >> I'm looking for a Julia library which implements one of these design >> pattern: >> >> - signal / slot >> - publish / subscribe >> >> Python have many libraries for this purpose >> >> for signal / slot >> signalslot https://github.com/Numergy/signalslot >> smokesignal https://github.com/shaunduncan/smokesignal >> circuits https://github.com/circuits/circuits >> blinker https://pythonhosted.org/blinker/ >> for pub / sub >> pypubsub http://pubsub.sourceforge.net/ >> >> What Julia alternatives should I consider ? >> I noticed Reactive.jl ... but it seems quite complex >> >> What I like in signal / slot pattern is these very simple (and easily >> understandable) >> emit and connect methods. >> >> Kind regards >> > >