Skip to content

Commit

Permalink
Lint and prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
afshin committed Nov 8, 2022
1 parent 4baa729 commit dd323c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/signaling/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,9 @@ export namespace Signal {
/**
* A stream with the characteristics of a signal and an async iterator.
*/
export class Stream<T, U>
extends Signal<T, U>
implements AsyncIterableIterator<U>
export class Stream<T, U>
extends Signal<T, U>
implements AsyncIterableIterator<U>
{
/**
* Return an async iterator that yields every emission.
Expand Down
2 changes: 1 addition & 1 deletion packages/signaling/tests/src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ describe('@lumino/signaling', () => {
expected.split('').forEach(x => setTimeout(() => stream.emit(x)));
setTimeout(() => stream.block(() => stream.emit('BLOCKED EMISSION 2')));
for await (const letter of stream) {
emitted = emitted.concat(letter)
emitted = emitted.concat(letter);
if (emitted === expected) break;
}
});
Expand Down

0 comments on commit dd323c4

Please sign in to comment.