Bacon.sampledBy() implementation