Add error message (#970)
- Error link not found - Error user was banned - Error access dinied on the world
This commit is contained in:
parent
7cd7d22e8b
commit
925545d74f
8 changed files with 76 additions and 30 deletions
|
@ -2,12 +2,12 @@ import {Subject} from "rxjs";
|
|||
|
||||
class WorldFullMessageStream {
|
||||
|
||||
private _stream:Subject<void> = new Subject();
|
||||
private _stream:Subject<string|null> = new Subject<string|null>();
|
||||
public stream = this._stream.asObservable();
|
||||
|
||||
|
||||
onMessage() {
|
||||
this._stream.next();
|
||||
onMessage(message? :string) {
|
||||
this._stream.next(message);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue