github.com/searKing/golang/go@v1.2.74/util/function/consumer/sink/todo.go (about) 1 // Copyright 2020 The searKing Author. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package sink 6 7 import ( 8 "github.com/searKing/golang/go/util/function/consumer" 9 ) 10 11 type TODO struct { 12 consumer.TODO 13 } 14 15 func (_ *TODO) Begin(size int) { 16 return 17 } 18 19 func (_ *TODO) End() { 20 return 21 } 22 23 func (_ *TODO) CancellationRequested() bool { 24 return false 25 }