… | … | ||
---|---|---|---|
143 | into the Event dispatcher. | 143 | into the Event dispatcher. |
144 | 144 | ||
145 | =cut | 145 | =cut |
146 | 146 | ||
147 | sub sweep { | 147 | sub sweep { |
148 | die "sweep NYI";#d# | 148 | one_event(0); # for now |
149 | $Coro::idle->ready; | ||
150 | Coro::cede; | ||
151 | } | 149 | } |
152 | 150 | ||
153 | =item $result = loop([$timeout]) | 151 | =item $result = loop([$timeout]) |
154 | 152 | ||
155 | This is the version of C<loop> you should use instead of C<Event::loop> | 153 | This is the version of C<loop> you should use instead of C<Event::loop> |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |