obsolete read method removed
This commit is contained in:
@@ -101,10 +101,6 @@ func (s *Source) Close() error {
|
|||||||
return s.inst.Close()
|
return s.inst.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Source) Next(timeout time.Duration) (Frame, error) {
|
|
||||||
return s.NextCtx(context.Background(), timeout)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (s *Source) NextCtx(ctx context.Context, timeout time.Duration) (Frame, error) {
|
func (s *Source) NextCtx(ctx context.Context, timeout time.Duration) (Frame, error) {
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
|
|||||||
Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user