Closed
Description
Replication of the Problem
export const foo: ListrTask = {
title: 'Some random foo task',
task: () =>
new Observable((observer) => {
observer.next('Foo');
setTimeout(() => {
observer.next('Bar');
}, 2000);
setTimeout(() => {
console.log(observer);
observer.complete();
}, 10000);
}),
};
Problem
It is said that listr2 supports Observable implementations like "rxjs" or "zen-observable" but it looks like these implementations differ. Only "rxjs" is working with listr2
Environment
osx
node 20
Log Output
No response
Preflight
- Read/Search existing issues and the provided documentation.
- Be sure to not open an issue in the looking for contributions section.
- Checking the latest version of the software to confirm it has not been fixed already.