File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ func WithManualRefresh(ch <-chan interface{}) ContainerOption {
5959// soon as bar is added, with this option it's possible to delay
6060// rendering process by keeping provided chan unclosed. In other words
6161// rendering will start as soon as provided chan is closed.
62- func WithRenderDelay (ch <- chan struct {}) ContainerOption {
62+ func WithRenderDelay (ch <- chan interface {}) ContainerOption {
6363 return func (s * pState ) {
6464 s .delayRC = ch
6565 }
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ type pState struct {
4848 hmQueueLen int
4949 reqWidth int
5050 refreshRate time.Duration
51- delayRC <- chan struct {}
51+ delayRC <- chan interface {}
5252 manualRC <- chan interface {}
5353 shutdownNotifier chan interface {}
5454 handOverBarHeap chan <- []* Bar
You can’t perform that action at this time.
0 commit comments