Switch executor run method to read/write channel

Change-Id: If0eb2ae96d20338fee17f381ea61748f8485c7cd
This commit is contained in:
Dmitry Ukov 2020-08-19 14:50:36 +04:00
parent 51e027be7d
commit 17bf4c77e8

View File

@ -26,7 +26,7 @@ import (
// Executor interface should be implemented by each runner // Executor interface should be implemented by each runner
type Executor interface { type Executor interface {
Run(<-chan events.Event, RunOptions) Run(chan events.Event, RunOptions)
Render(io.Writer, RenderOptions) error Render(io.Writer, RenderOptions) error
Validate() error Validate() error
} }