Skip to content

Long running task progress/real time output #180

@fabriciojs

Description

@fabriciojs

this is a nice feature to start with, but we need to advise it only works for no-output tasks. If the closure() has some kind of output, this would get messy.

I would like to try exploring something like:

  • We have a pipe for capturing the task actual output.
  • While executing a task, we have something like:
Running "task"...
-------------------------------
(original task output... keeps writing here)
-------------------------------
... (animated char, something like an ASCII spinner with `-\|/-` replacing sequence, or something for that matter.

So the last output line is ALWAYS our "progress/running" spinner, while above it we keep displaying any eventual output the task could have.

Not sure how to architecture that, we may discuss further, maybe for a future iteration?

Originally posted by @fabriciojs in #170 (comment)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions