Skip to content

[Bug]: zen-observable isn't supported #724

Closed
magidoc-org/magidoc
#425
@1999

Description

@1999

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleased

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions