Query runs a flowgraph as a sbuf.Puller and implements a Close() method that gracefully tears down the flowgraph. Its AsReader() and AsProgressReader() methods provide a convenient means to run a flowgraph as sio.Reader.
| 10 | // that gracefully tears down the flowgraph. Its AsReader() and AsProgressReader() |
| 11 | // methods provide a convenient means to run a flowgraph as sio.Reader. |
| 12 | type Query struct { |
| 13 | vio.Puller |
| 14 | rctx *runtime.Context |
| 15 | meter vio.Meter |
| 16 | } |
| 17 | |
| 18 | var _ runtime.Query = (*Query)(nil) |
| 19 |
nothing calls this directly
no outgoing calls
no test coverage detected