Source

rx-python / main.py

Full commit
from lib import *

click = Event()

dlclick = click >> value_filter_r("left") >> doublize_r(
    .01,
    lambda l1, l2 : "double left"
    ) >> echo

keys   = Event()
clicks = Event()

dlclicks = clicks >> value_filter_r("left") >> doublize_r(
    .01,
    lambda l1, l2: "double click"
    )

keys >> click_choose_r(d = dlclicks, f = ["fake", "fake"]) >> echo