Skip to content

Commit

Permalink
feature(@nestjs/cqrs) provide access to the subject in ObservableBus
Browse files Browse the repository at this point in the history
  • Loading branch information
SeWaS committed Nov 19, 2019
1 parent 553b899 commit 257b0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/observable-bus.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Observable, Subject } from 'rxjs';

export class ObservableBus<T> extends Observable<T> {
protected subject$ = new Subject<T>();
public subject$ = new Subject<T>();

constructor() {
super();
Expand Down

0 comments on commit 257b0a1

Please sign in to comment.