Hey guys, most of the time I find myself listening to events only once, what do you think about adding a "once" method in events? Instead of having to write something like:
onSomeEvent = -> someLayer.off Events.SomeEvent # do something
someLayer.on Events.SomeEvent, onSomeEvent
Hey Mehdi Djabri, you could use _.once(func) to create a version of the function that can only be called one time.
This works too: layer.once -> ...