These are chat archives for pozadi/kefir

May 2015
Stephan Hoyer
May 02 2015 17:33
pretty complicated
Roman Pominov
May 02 2015 18:08
@StephanHoyer why?
Do you have a suggestion for a better API?
Roman Pominov
May 02 2015 18:15
Also note that returning unsubscribe function is optional, you need this only if you want to manage you resources properly.
Otherwise you can do simply
var stream = {
  scope.functionThatGetsCalledOnClick = emitter.emit;