function Blend.OnEvent(l)assert(type(l)=="\115\116\114\105\110\103","\066\097\100 \101\118\101\110\116\078\097\109\101")return function(E)return Rx.fromSignal(E[l])end end

function Blend.OnEvent(eventName)
	assert(type(eventName) == "string", "Bad eventName")

	return function(instance)
		return Rx.fromSignal(instance[eventName])
	end
end
