scala event stream fun