stephen-moyer / ngx-signalr-hubservice

Makes using SignalR in Angular 2/4 easy
MIT License
24 stars 5 forks source link

A working sample? #11

Closed mikecabana closed 6 years ago

mikecabana commented 6 years ago

Would it be possible to provide a working sample with Angular 6.x and RxJs 6.x. It makes a lot of sense that the Hub is a service rather than a component so it would be nice if it was set up that way. I've been playing with this for the better part of a day and can't seem to get it to work right.

stephen-moyer commented 6 years ago

Sure thing. I can put it together later tonight.

Sorry about that.

Stephen

On Fri, Aug 10, 2018, 17:06 Michael notifications@github.com wrote:

Would it be possible to provide a working sample with Angular 6.x and RxJs 6.x. It makes a lot of sense that the Hub is a service rather than a component so it would be nice if it was set up that way. I've been playing with this for the better part of a day and can't seem to get it to work right.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/steveadoo32/ngx-signalr-hubservice/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AIO2dricMQpVjqJXPyKNgS1kzrnrWWm5ks5uPfXxgaJpZM4V40OC .

mikecabana commented 6 years ago

Thanks @steveadoo32 it would be so helpful!

stephen-moyer commented 6 years ago

Try ngx-signalr-hubservice@6.0.2. I think there was an issue with the old package.

I've also included samples in this repo, look at the example folder here

Reopen this issue if you have any issues with that.