Skip to content

Instantly share code, notes, and snippets.

View TimOverboard's full-sized avatar
💃

TimOverboard TimOverboard

💃
  • L337 Ltd. (really)
  • over there
View GitHub Profile
@mguijarr
mguijarr / test_redis_nanomsg.py
Created May 27, 2014 09:16
Redis + nanomsg BUS example: Channel object
Start as many processes as wanted; then, make Channel objects - when a channel value is changed,
all channels with the same name receive it.
linguijarro:~ % python -i test_redis_nanomsg.py
>>> c = Channel("s1v.position")
>>> c.value()
NotInitialized
>>> c.set_value(14)
>>> c.value()