Code cleanup

This commit is contained in:
Junegunn Choi committed 2015-03-22 16:05:54 +09:00
1 parent d94dfe0876
commit b431e227da
9 files changed
+51 -54

No files matched your search

+1
View File
@@ -79,6 +79,7 @@ func (b *EventBox) Unwatch(events ...EventType) {
}
}
// WaitFor blocks the execution until the event is received
func (b *EventBox) WaitFor(event EventType) {
looping := true
for looping {