feat: progress
This commit is contained in:
@@ -24,9 +24,9 @@ func New(config *config.Config, expression *lambda.Expression) *Engine {
|
||||
func (e Engine) Run() {
|
||||
e.Emit("start")
|
||||
|
||||
for lambda.ReduceOnce(e.Expression) {
|
||||
lambda.ReduceAll(e.Expression, func() {
|
||||
e.Emit("step")
|
||||
}
|
||||
})
|
||||
|
||||
e.Emit("end")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user