Burgestrand / Hallon

Hallon is currently **UNMAINTAINED**.
http://rdoc.info/github/Burgestrand/Hallon/master/frames
135 stars 12 forks source link

Allow a setup-block for Observable#wait_for #111

Closed Burgestrand closed 12 years ago

Burgestrand commented 12 years ago

This block would be executed after all the event handlers have been hooked. It’d be useful for doing things where Hallon needs to know of events to work properly (see Playlist#upload in #95 for example).

This would allow an API similar to this:

playlist.upload do
  playlist.insert(track)
end
Burgestrand commented 12 years ago

The internals are changing too much with my experiments and I’ve noticed this issue is no longer applicable.