Refactor file mover to ensure faster transfers and more reliable handling (#1406)
This commit is contained in:
@@ -55,6 +55,11 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||
this.bookService.handleNewlyCreatedBook(JSON.parse(msg.body))
|
||||
)
|
||||
);
|
||||
this.subscriptions.push(
|
||||
this.rxStompService.watch('/user/queue/book-update').subscribe(msg =>
|
||||
this.bookService.handleBookUpdate(JSON.parse(msg.body))
|
||||
)
|
||||
);
|
||||
this.subscriptions.push(
|
||||
this.rxStompService.watch('/user/queue/books-remove').subscribe(msg =>
|
||||
this.bookService.handleRemovedBookIds(JSON.parse(msg.body))
|
||||
|
||||
Reference in New Issue
Block a user