| 250 | return kSuccess; |
| 251 | } |
| 252 | Error wait_event(StreamImpl* s, EventImpl* e) { |
| 253 | if (!e || e->value == 0) return kSuccess; |
| 254 | end_encoder(s); |
| 255 | open_cb(s)->encodeWait(e->ev, e->value); |
| 256 | return kSuccess; |
| 257 | } |
| 258 | |
| 259 | Error run_op(StreamImpl* s, const Op& o) { |
| 260 | switch (o.kind) { |
no test coverage detected